Skip to content

Commit

Permalink
Update efs burst credit alarm based on metspec recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredbrook committed Oct 3, 2022
1 parent d92fbdb commit a76c835
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/cfnguardian/resources/elastic_file_system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ def default_alarms
alarm.metric_name = 'BurstCreditBalance'
alarm.comparison_operator = 'LessThanThreshold'
alarm.statistic = 'Minimum'
alarm.threshold = 1000000000000
alarm.evaluation_periods = 5
alarm.treat_missing_data = 'notBreaching'
alarm.datapoints_to_alarm = 5
alarm.threshold = 1000
alarm.evaluation_periods = 1
@alarms.push(alarm)

alarm = CfnGuardian::Models::ElasticFileSystemAlarm.new(@resource, 'Total')
Expand Down

0 comments on commit a76c835

Please sign in to comment.