Reputation: 11661
I build my containers with fargate and terraform.
If I want to scale when the cpu or the memory not enough, do I need to setup aws_autoscaling_group
in terraform? or aws can automatic raise up another containers?
Upvotes: 0
Views: 439
Reputation: 35238
Without setting this AWS has no way of knowing that the service should autoscale or which conditions it should scale on.
Instead it will just use the desired_count
value instead (as a static value).
If you create the auto scaling resource this will replace this value.
Upvotes: 1