Metric Alarm using SQL Query in Cloudwatch

Instead of normal namespace - metric name way of creating metric alarm. I would like to use SQL query in cloud watch to create metric alarm for my custom metrics.

From console, am able to create metric alarm using sql query. I want this to be able to done using terraform, will that work? is there any resource i can use to create it?

1 Like