Skip to content

Instantly share code, notes, and snippets.

@pflooky
Last active January 13, 2022 08:04
Show Gist options
  • Save pflooky/18d89691e4408d14bf1b313c4fd36d92 to your computer and use it in GitHub Desktop.
Save pflooky/18d89691e4408d14bf1b313c4fd36d92 to your computer and use it in GitHub Desktop.
Minimum AWS permissions needed for Spark to write a file to S3
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:ListObject",
"s3:DeleteObject"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::secret-bucket/*"
],
"Sid": ""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment