diff --git a/app/terraform/proxy/fastly.py b/app/terraform/proxy/fastly.py index 0fbb503..f00e506 100644 --- a/app/terraform/proxy/fastly.py +++ b/app/terraform/proxy/fastly.py @@ -11,7 +11,7 @@ class ProxyFastlyAutomation(ProxyAutomation): short_name = "proxy_fastly" description = "Deploy proxies to Fastly" provider = "fastly" - subgroup_max = max(current_app.config.get("FASTLY_MAX_BACKENDS", 5), 20) + subgroup_max = min(current_app.config.get("FASTLY_MAX_BACKENDS", 5), 20) template_parameters = [ "aws_access_key",