Today ControlMonkey is pleased to announce that we have reinforced our “Import to Terraform” solution with the capability to Import CloudWatch Alarms and Dashboards to Terraform.
AWS CloudWatch is a great solution to monitor your Application and Infrastructure health with collected metrics.
However, configuring the alerts and dashboards can be a long and mundane process, so shifting the configuration to Terraform is an easy way to manage and replicate your CloudWatch alarms and metrics.
With ControlMonkey, DevOps can seamlessly codify their CloudWatch Alarms (cloudwatch_metric_alarm) and CloudWatch Dashboards (aws_cloudwatch_dashboard).
The benefits of managing the alarm and dashboard configuration with Terraform:
- Every change in the configuration goes through a structured review process that prevents issues in monitoring production environments.
- The ability to easily replicate configured alarms to other resources.
e.g. Let’s say you’re spinning up 5 new load balancers, rather than manually configuring the CloudWatch metrics for each one individually, With Terraform you can easily replicate the configuration to all load balancers simultaneously. - In case someone changes the dashboard configuration and you want to roll it back, if the configuration is managed by Terraform, you can do that swiftly.
So if you’re running CloudWatch with multiple alarms and dashboards, now’s the time to manage it with Terraform.