From 809bb729cf30f62496c9b3f3f2e79a555639db99 Mon Sep 17 00:00:00 2001 From: cfln123 Date: Wed, 24 Nov 2021 16:32:39 -0300 Subject: [PATCH] Fixing duplicated CpuCreditBalanceCritical --- lib/cfnguardian/resources/amazonmq_broker.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cfnguardian/resources/amazonmq_broker.rb b/lib/cfnguardian/resources/amazonmq_broker.rb index 6f0e801..869f793 100644 --- a/lib/cfnguardian/resources/amazonmq_broker.rb +++ b/lib/cfnguardian/resources/amazonmq_broker.rb @@ -13,7 +13,7 @@ def default_alarms @alarms.push(alarm) alarm = CfnGuardian::Models::AmazonMQBrokerAlarm.new(@resource) - alarm.name = 'CpuCreditBalanceCritical' + alarm.name = 'CpuCreditBalanceWarning' alarm.metric_name = 'CpuCreditBalance' alarm.comparison_operator = 'LessThanThreshold' alarm.statistic = 'Minimum'