Hi there,
We are using Terraform to setup one ASG per customer and then using CodeDeploy via CodePipeline to deploy revisions to all active instances within the ASGs. Previously, we had one CodeDeploy group per customer, but this did not work correctly as some customers would have a minimum instance size of 0 (because they use the platform infrequently), and therefore the CodeDeploy revision would not correctly deploy and not be picked up when a new instance was added.
For this reason, I switched around the infrastructure so that all customer ASGs are deployed to via the same CodeDeploy deployment group, and because there is at least 1 instance on at any one time, the revision goes through correctly and future launches pick up the new revision.
However, we are now approaching the problem where CodeDeploy has a limit of 10 ASGs per deployment group. Is there a way around this via the API, console or Terraform (nothing on the TF docs regarding the ASG limit), or do we have to set up specific infrastructure to have one Deployment Group per 10 customers?
Thank you in advance for any advice.
Excellent thank you! I had somehow missed this completely.