You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what it looks like, ecs_service costs are solely calculated by Usage Hours* desired_count, however typically when using ecs with autoscaling, one will setup the resource to be
in which you ignore the desired_count completely, and just have variables for min/max.
It would be nice to support aws_appautoscaling_target for ecs in the usage file like other services with aws_appautoscaling_*
I do know one easy workaround is just set desired_count = var.max_count but because you typically lifecycle ignore desired_count, it is very easy to not setup services as such.
The text was updated successfully, but these errors were encountered:
mattthaber
changed the title
Support aws_appautoscaling_policy for ECS
Support aws_appautoscaling_policy for ECS Service
Feb 22, 2024
Description
From what it looks like,
ecs_service
costs are solely calculated byUsage Hours* desired_count
, however typically when using ecs with autoscaling, one will setup the resource to bein which you ignore the desired_count completely, and just have variables for min/max.
It would be nice to support
aws_appautoscaling_target
for ecs in the usage file like other services withaws_appautoscaling_*
I do know one easy workaround is just set
desired_count = var.max_count
but because you typically lifecycle ignore desired_count, it is very easy to not setup services as such.The text was updated successfully, but these errors were encountered: