Skip to content

Commit

Permalink
change web-36-b alarm params
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsweetman committed Sep 23, 2024
1 parent bb19963 commit a0eabaf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion terraform/environments/planetfm/locals_production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,19 @@ locals {
pd-cafm-w-36-b = merge(local.ec2_instances.web, {
cloudwatch_metric_alarms = merge(
local.ec2_instances.web.cloudwatch_metric_alarms,
module.baseline_presets.cloudwatch_metric_alarms.ec2_instance_or_cwagent_stopped_windows
module.baseline_presets.cloudwatch_metric_alarms.ec2_instance_or_cwagent_stopped_windows, {
"cpu-utilization-high" = {
alarm_description = "CPU Utilization is above 75% or above for 15 minutes"
comparison_operator = "GreaterThanOrEqualToThreshold"
evaluation_periods = "15"
datapoints_to_alarm = "15"
metric_name = "CPUUtilization"
namespace = "AWS/EC2"
period = "60"
statistic = "Maximum"
threshold = "75"
}
}
)
config = merge(local.ec2_instances.web.config, {
ami_name = "pd-cafm-w-36-b"
Expand Down

0 comments on commit a0eabaf

Please sign in to comment.