Skip to content

Commit

Permalink
Merge pull request #84 from jaredbrook/feature/efs-burst-credit-thres…
Browse files Browse the repository at this point in the history
…hold

Update efs burst credit alarm based on metspec recommendation
  • Loading branch information
Guslington authored Oct 3, 2022
2 parents d92fbdb + a76c835 commit 4eef636
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 4eef636

Please sign in to comment.