Skip to content

Instantly share code, notes, and snippets.

@it-am
Last active October 22, 2018 20:07
Show Gist options
  • Save it-am/6b2cdedfd2bd991ff81a44041bbe1883 to your computer and use it in GitHub Desktop.
Save it-am/6b2cdedfd2bd991ff81a44041bbe1883 to your computer and use it in GitHub Desktop.
medium
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:PutObject"
],
"Resource": "arn:aws:s3:::your_s3_bucket_name_here/*"
},
{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "arn:aws:iam::111111111111:role/lambda-cross-account-access-role"
},
{
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "arn:aws:iam::222222222222:role/lambda-cross-account-access-role"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment