Skip to content

Commit

Permalink
Merge pull request #424 from aws-solutions/feature/update-v5.1.2
Browse files Browse the repository at this point in the history
Allow bucket notification and listing versions for CFNLambda
  • Loading branch information
aassadza authored Mar 14, 2022
2 parents 8918711 + 4936c05 commit a2b9195
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/dev/bootstrap/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ module.exports = {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CFNLambdaS3Access",
"Effect": "Allow",
"Action": [
"s3:ListBucketVersions",
"s3:PutBucketNotification",
"s3:PutObject",
"s3:GetObject",
"s3:GetObjectVersion",
Expand Down
3 changes: 3 additions & 0 deletions templates/dev/bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ module.exports = outputs('dev/bootstrap')
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CFNLambdaS3Access",
"Effect": "Allow",
"Action": [
"s3:ListBucketVersions",
"s3:PutBucketNotification",
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObjectVersion",
Expand Down
3 changes: 3 additions & 0 deletions templates/master/roles.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,11 @@
"Resource": ["*"]
},
{
"Sid": "CFNLambdaS3Access",
"Effect": "Allow",
"Action": [
"s3:ListBucketVersions",
"s3:PutBucketNotification",
"s3:PutObject",
"s3:GetObject",
"s3:DeleteObjectVersion",
Expand Down

0 comments on commit a2b9195

Please sign in to comment.