Skip to content

Commit

Permalink
Increase StackSet Validation Frequency to 24 hours by default
Browse files Browse the repository at this point in the history
With the new Config Pricing running the Evaluations every 3 hours
produces unnecessary costs where a 24 hour schedule (with parameter
to reduce that time) is sufficient.
  • Loading branch information
flomotlik committed Aug 9, 2019
1 parent 5250ee7 commit c2c086b
Showing 1 changed file with 11 additions and 1 deletion.
Expand Up @@ -3,6 +3,16 @@ Parameters:
Type: String
Description: Email address to notify in case the Validate Lambda function breaks
Default: {{AWSMainAccount['Email']}}
ValidationFrequency:
Description: 'The frequency with which AWS Config delivers configuration snapshots'
Type: String
Default: TwentyFour_Hours
AllowedValues:
- One_Hour
- Three_Hours
- Six_Hours
- Twelve_Hours
- TwentyFour_Hours

Resources:
ValidateLambdaErrorTopic:
Expand Down Expand Up @@ -100,5 +110,5 @@ Resources:
SourceDetails:
- EventSource: "aws.config"
MessageType: "ScheduledNotification"
MaximumExecutionFrequency: Three_Hours
MaximumExecutionFrequency: !Ref ValidationFrequency
SourceIdentifier: !GetAtt ValidateStackSetDeploymentsLambdaFunction.Arn

0 comments on commit c2c086b

Please sign in to comment.