Skip to content

Commit 9518d0e

Browse files
committed
Added S3 Encryption and Versioning
1 parent 4d3d06d commit 9518d0e

3 files changed

Lines changed: 17 additions & 4 deletions

File tree

.DS_Store

0 Bytes
Binary file not shown.

Pipeline_GitHub.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,22 @@
2929
},
3030
"Resources": {
3131
"CodePipelineArtifactStoreBucket": {
32-
"Type": "AWS::S3::Bucket"
32+
"Type": "AWS::S3::Bucket",
33+
"Properties": {
34+
"BucketEncryption": {
35+
"ServerSideEncryptionConfiguration": [
36+
{
37+
"ServerSideEncryptionByDefault": {
38+
"SSEAlgorithm": "aws:kms",
39+
"KMSMasterKeyID": "aws/s3"
40+
}
41+
}
42+
]
43+
},
44+
"VersioningConfiguration": {
45+
"Status" : "Enabled"
46+
},
47+
}
3348
},
3449
"CodePipelineArtifactStoreBucketPolicy": {
3550
"Type": "AWS::S3::BucketPolicy",

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ For this walkthrough, you should have the following prerequisites:
3434

3535
#### • Step 2: Clone the forked repository to your AWS CloudShell console and navigate to the cloned directory.
3636

37-
#### • Step 3: Launch the CloudFormation stack to create the pipeline that gets invoked when a code is committed. You will have to provide the following input parameters:
38-
39-
[Launch stack button]
37+
#### • Step 3: Launch the CloudFormation stack using Pipeline_GitHub.json which is part of the repo to create the pipeline that gets invoked when a code is committed. You will have to provide the following input parameters:
4038

4139
- BranchName: GitHub Branch Name
4240
- RepositoryName: GitHub Repository Name

0 commit comments

Comments
 (0)