$ terraform -v
Terraform v0.14.6
I using resource aws_cloudwatch_metric_alarm to create AWS alarms of course. For the dimensions
parameter, the doc links you to AWS Services That Publish CloudWatch Metrics, but that page does NOT list valid values, nor did I find them on the subsequent "Documentation" links for each namespace on that page. Where can I find them?
You have to check docs of the respective service you want metrics for.
For example, for ECS, the dimensions are ClusterName
and ServiceName
.
For RDS you have DBInstanceIdentifier
, DatabaseClass
and few more.