Skip to content

Commit

Permalink
set CW Logs retention
Browse files Browse the repository at this point in the history
  • Loading branch information
tmclaugh committed Oct 21, 2024
1 parent 19c9136 commit 031d383
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ Resources:
Type: AWS::Logs::LogGroup
Properties:
LogGroupName: !Sub "/aws/api-gateway/${AWS::StackName}"
RetentionInDays: 7

RestApi:
Type: AWS::Serverless::Api
Expand Down

0 comments on commit 031d383

Please sign in to comment.