Skip to content

Instantly share code, notes, and snippets.

@reaperes
Created December 29, 2021 03:36
Show Gist options
  • Save reaperes/a47e9ccbc46e2c27e32cde2d7ebc385b to your computer and use it in GitHub Desktop.
Save reaperes/a47e9ccbc46e2c27e32cde2d7ebc385b to your computer and use it in GitHub Desktop.
s3 ip allow policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "IPAllow",
"Principal": {
"AWS": "*"
},
"Effect": "Allow",
"Action": [
"s3:*"
],
"Resource": [
"arn:aws:s3:::internal-marketplace.modulous.io/*"
],
"Condition" : {
"IpAddress" : {
"aws:SourceIp": "59.6.97.7/32"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment