I have a synthetics canary configured courtesy of “maksymbilenko”, however when trying to create a resource for - aws_cloudwatch_metric_alarm i cannot see any options to refer to a canary, in the console it is called “canary_name” and i presume this might not be in the latest aws provider at this point?
oddly enough it does enable to me to add a - namespace = “CloudWatchSynthetics”
With the namespace = “CloudWatchSynthetics” and adding the canary name to the dimensions you should be able to create the corresponding alarms. Like this: