Skip to content

v1.2.1

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Feb 04:00
· 29 commits to main since this release
9010cc0

🚀 Enhancements

feat(aws_instance): treat missing data on cloudwatchmetric @haidargit (#184)

what

The PR enables the treat_missing_data argument for the cloudwatch metric alarm resource on this ec2 module.
https://github.com/cloudposse/terraform-aws-ec2-instance/blob/bf54345e18c6c2d1d85997d3af3b73a0e03c489f/cloudwatch-alarm.tf#L11

why

Users may have specific run schedules, triggering alerts in CloudWatch, e.g., for missing data during offline periods (instance stopped state, hibernate, restart, etc.).
This treat_missing_data variable will enable the CloudWatch alarms to set custom responses, which are "missing", "ignore", "breaching" and "notBreaching", for the data gaps that occur and keep the EC2 alarms condition in a desired state.

references

  • closes feature request #130


Kindly review this PR for any possible improvements. Thank you