This addresses the deprecated capacity provider warning in setup-terraform. We now use the separate aws_ecs_capacity_providers resource instead of the field in the aws_ecs_cluster resource.
I refactored the Terraform resources to use resource counts, and moved the ec2 instance creation into a sub module. This makes it easy to change the number of ECS clusters we spin up.
Changes proposed in this PR:
This addresses the deprecated capacity provider warning in setup-terraform. We now use the separate
aws_ecs_capacity_providers
resource instead of the field in theaws_ecs_cluster
resource.I refactored the Terraform resources to use resource counts, and moved the ec2 instance creation into a sub module. This makes it easy to change the number of ECS clusters we spin up.
How I've tested this PR:
Acceptance tests
How I expect reviewers to test this PR:
👀
Checklist: