2017-07-14 04:50:55 +00:00
|
|
|
{
|
|
|
|
"Version": "2012-10-17",
|
|
|
|
"Statement": [
|
|
|
|
{
|
2018-03-07 16:25:24 +00:00
|
|
|
"Sid": "AllowS3AnsibleTestBuckets",
|
2017-07-14 04:50:55 +00:00
|
|
|
"Action": [
|
2018-03-07 16:25:24 +00:00
|
|
|
"s3:CreateBucket",
|
|
|
|
"s3:DeleteBucket",
|
|
|
|
"s3:DeleteObject",
|
|
|
|
"s3:GetBucketPolicy",
|
|
|
|
"s3:GetBucketRequestPayment",
|
|
|
|
"s3:GetBucketTagging",
|
|
|
|
"s3:GetBucketVersioning",
|
2017-07-14 04:50:55 +00:00
|
|
|
"s3:GetObject",
|
|
|
|
"s3:ListBucket",
|
|
|
|
"s3:PutBucketAcl",
|
2018-03-07 16:25:24 +00:00
|
|
|
"s3:PutBucketPolicy",
|
|
|
|
"s3:PutBucketRequestPayment",
|
|
|
|
"s3:PutBucketTagging",
|
|
|
|
"s3:PutBucketVersioning",
|
2017-07-14 04:50:55 +00:00
|
|
|
"s3:PutObject",
|
2018-03-07 16:25:24 +00:00
|
|
|
"s3:PutObjectAcl"
|
2017-07-14 04:50:55 +00:00
|
|
|
],
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Resource": [
|
2018-01-19 22:11:42 +00:00
|
|
|
"arn:aws:s3:::ansible-test-*",
|
|
|
|
"arn:aws:s3:::ansible-test-*/*"
|
2017-07-14 04:50:55 +00:00
|
|
|
]
|
2018-09-10 21:21:36 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Sid": "AllowListingS3Buckets",
|
|
|
|
"Action": [
|
|
|
|
"s3:ListAllMyBuckets"
|
|
|
|
],
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Resource": "*"
|
2017-07-14 04:50:55 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|