Created
December 19, 2020 23:02
-
-
Save trystant/1cfc49c9c44dc25e2a4b4b84da677f72 to your computer and use it in GitHub Desktop.
S3 Backup Role Bucket Policy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "DelegateS3Access", | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": "<INSERT BACKUP ACCOUNT ARN HERE>" | |
}, | |
"Action": [ | |
"s3:ListBucket", | |
"s3:GetObject" | |
], | |
"Resource": [ | |
"arn:aws:s3:::<INSERT PRODUCTION_S3_BUCKET HERE>/*", | |
"arn:aws:s3:::<INSERT PRODUCTION_S3_BUCKET HERE>" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment