Skip to content
This repository has been archived by the owner on Dec 6, 2024. It is now read-only.

Commit

Permalink
Added Bucket Versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
troy-ameigh committed Sep 12, 2023
1 parent b2b1440 commit 538f1d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/hugo-pipeline/templates/master.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Resources:
ArtifactBucket:
Type: 'AWS::S3::Bucket'
Properties:
VersioningConfiguration:
Status: Enabled
BucketEncryption:
ServerSideEncryptionConfiguration:
- ServerSideEncryptionByDefault:
Expand All @@ -15,8 +17,6 @@ Resources:
Rules:
- NoncurrentVersionExpirationInDays: 30
Status: Enabled
VersioningConfiguration:
Status: Enabled
CodeCommitRepo:
Type: AWS::CodeCommit::Repository
Properties:
Expand Down

0 comments on commit 538f1d1

Please sign in to comment.