Skip to content

Instantly share code, notes, and snippets.

@matthew-harper
Created January 24, 2021 21:30
Show Gist options
  • Save matthew-harper/e5ba592a17b28e23bf969654938db55e to your computer and use it in GitHub Desktop.
Save matthew-harper/e5ba592a17b28e23bf969654938db55e to your computer and use it in GitHub Desktop.
S3 WriteOnly IAM Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::my-release-artifacts"
]
},
{
"Effect": "Allow",
"Action": [
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::my-release-artifacts/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment