Skip to content

Commit

Permalink
ACL Update for buckets to include list objects (#518)
Browse files Browse the repository at this point in the history
* Update buckets.yml

* Update buckets.yml

* Update buckets.yml
  • Loading branch information
GuruPKK authored Oct 15, 2021
1 parent 5ccc911 commit 54946c2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions infrastructure/ecs-main/buckets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ Resources:
Effect: Allow
Principal: "*"
Action:
- s3:GetObject
- 's3:GetObject'
- 's3:ListBucket'
Resource:
- Fn::Join: ['', [{ "Fn::GetAtt": ["DocsBucket", "Arn" ] }, '/*']]
- Fn::Join: ['', [{ "Fn::GetAtt": ["DocsBucket", "Arn" ] }, '/*']]
- Fn::Join: ['', [{ "Fn::GetAtt": ["DocsBucket", "Arn" ] }]]

DocAtlasBucketPolicy:
Type: AWS::S3::BucketPolicy
Expand Down Expand Up @@ -92,6 +94,7 @@ Resources:
Resource:
- Fn::Join: ['', [{ "Fn::GetAtt": ["CloudManagerBucket", "Arn" ] }, '/*']]


OpsManagerBucketPolicy:
Type: AWS::S3::BucketPolicy
Properties:
Expand Down

0 comments on commit 54946c2

Please sign in to comment.