CloudWatch Template Variable for Cluster and Service Name

I was wondering if there was a way to filter dimension_values based on another dimension variable.

For example: I want the service names of only the services in a specified cluster.
Something like:
dimension_values(us-east-1, AWS/ECS, CPUUtilization, ServiceName, [{“ClusterName”:"$ClusterName"}])

Any luck @ngynbtn? I’m facing the same issue trying to use the $region template variable in another template variable, like:


Based on the example from the doc at, which lists:


I’ve tried variations on that, just listing $region for instance, but no luck. I get a metric request error every time.

Edit: Think I figured it out. Had to reference the variable as [[region]] instead of $region: