From 538f1d1da178e00f157994707e93435a5fce29f1 Mon Sep 17 00:00:00 2001 From: Troy Ameigh <55170274+troy-ameigh@users.noreply.github.com> Date: Tue, 12 Sep 2023 09:13:49 -0500 Subject: [PATCH] Added Bucket Versioning --- samples/hugo-pipeline/templates/master.template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/hugo-pipeline/templates/master.template.yaml b/samples/hugo-pipeline/templates/master.template.yaml index b395c1e..da17981 100644 --- a/samples/hugo-pipeline/templates/master.template.yaml +++ b/samples/hugo-pipeline/templates/master.template.yaml @@ -6,6 +6,8 @@ Resources: ArtifactBucket: Type: 'AWS::S3::Bucket' Properties: + VersioningConfiguration: + Status: Enabled BucketEncryption: ServerSideEncryptionConfiguration: - ServerSideEncryptionByDefault: @@ -15,8 +17,6 @@ Resources: Rules: - NoncurrentVersionExpirationInDays: 30 Status: Enabled - VersioningConfiguration: - Status: Enabled CodeCommitRepo: Type: AWS::CodeCommit::Repository Properties: