Skip to content

Instantly share code, notes, and snippets.

@jsleeuw
Created June 27, 2019 16:10
Show Gist options
  • Save jsleeuw/4b15beac5306c5b9f2e996fa61de7a03 to your computer and use it in GitHub Desktop.
Save jsleeuw/4b15beac5306c5b9f2e996fa61de7a03 to your computer and use it in GitHub Desktop.
S3-bucket-config.md
  1. Create an S3 bucket
  2. Configure the bucket policy to grant permissions ORATS:

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::AccountB:user/AccountBUserName" }, "Action": [ "s3:GetObject", "s3:PutObject", "s3:PutObjectAcl" ], "Resource": [ "arn:aws:s3:::AccountABucketName/*" ] } ] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment