Skip to content

Commit

Permalink
Attempted CF fix 1
Browse files Browse the repository at this point in the history
  • Loading branch information
stulacy committed Nov 17, 2023
1 parent c3bb0f3 commit f69e7bf
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions cloudformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,25 +203,27 @@
"arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
],
"Policies": [
"PolicyName": "ReadApplicationVersionFromBucket",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Action": [
"s3:ListBucketVersions",
"s3:ListBucket",
"s3:GetObjectVersion",
"s3:GetObject"
],
"Resource": [
"Fn::Sub": "arn:aws:s3:::.${S3Bucket}",
"Fn::Sub": "arn:aws:s3:::.${S3Bucket}/*"
]
}
]
{
"PolicyName": "ReadApplicationVersionFromBucket",
"PolicyDocument": {
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Action": [
"s3:ListBucketVersions",
"s3:ListBucket",
"s3:GetObjectVersion",
"s3:GetObject"
],
"Resource": [
"Fn::Sub": "arn:aws:s3:::.${S3Bucket}",
"Fn::Sub": "arn:aws:s3:::.${S3Bucket}/*"
]
}
]
}
}
]
}
Expand Down

0 comments on commit f69e7bf

Please sign in to comment.