You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should create a dashboard on billing and an alarm to detect anomaly on total cost
Actual behavior
A runtime error during a cdk deploy that leads to the error below:
8:54:06 PM | CREATE_FAILED | AWS::CloudWatch::Alarm | CdkMonitoringTestA...alyWarning970F670F
ComparisonOperators for ranges require ThresholdMetricId to be set (Service: AmazonCloudWatch; Status Code: 400; Error Code: ValidationError; Request ID: 678402c0-da06-4c56-a222-295dbe54bf74; Proxy: null)
Stack Deployments Failed: Error: The stack named CdkMonitoringTestApp-MonitoringStack failed to deploy: UPDATE_ROLLBACK_COMPLETE: ComparisonOperators for ranges require ThresholdMetricId to be set (Service: AmazonCloudWatch; Status Code: 400; Error Code: ValidationError; Request ID: 678402c0-da06-4c56-a222-295dbe54bf74; Proxy: null)
Version
6.2.4
Steps and/or minimal code example to reproduce
Create a monitoring facade and then execute
monitorBilling()
withaddTotalCostAnomalyAlarm
Expected behavior
This should create a dashboard on billing and an alarm to detect anomaly on total cost
Actual behavior
A runtime error during a
cdk deploy
that leads to the error below:Other details
This may be related to this issue:
aws/aws-cdk#10540
The text was updated successfully, but these errors were encountered: