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