[Bug]: Cloudwatch Metric Alarm 'metric_query' block does not Support Period in Conjunction With Expression #28617
Labels
bug
Addresses a defect in current functionality.
service/cloudwatch
Issues and PRs that pertain to the cloudwatch service.
Milestone
Terraform Core Version
1.3.6
AWS Provider Version
4.48.0
Affected Resource(s)
Expected Behavior
When creating a Metric Alarm that uses an expression, it is not possible to set the period. However, this is a valid configuration in CloudWatch and can be successfuly performed via the web console and the API.
Actual Behavior
This leads to the request being rejected by AWS as the 'period' field is missing in the request.
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
An example in Python showing the successful creation of such a metric:
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: