AWS ECS container target-tracking-metric autoscaling - are custom metrics supported?

The documentation for the AWS provider says that standard metrics are supported for aws_appautoscaling_policy’s target-tracking autoscaling, and goes on to define the customized metric specification (, but characterizes it as ‘reserved’, not implemented. I guess this is a two-parter:

  1. Is the documentation accurate? (I looked around the AWS provider’s code on github, and there’s lots of schema validation in there for custom metrics)
  2. If it is accurate, and currently not supported, do people know if the remaining work is at the AWS go sdk layer, or at the AWS provider layer?

Hi David!

It is implemented, so you should be able to use it! I’ll update the documentation to reflect that. Thanks for pointing out the inconsistency in the documentation!

1 Like