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",
|
2019-09-21 03:46:37 +02:00
|
|
|
"s3:Delete*",
|
2019-10-17 20:33:55 +02:00
|
|
|
"s3:GetBucketAcl",
|
|
|
|
"s3:GetBucketLogging",
|
|
|
|
"s3:GetBucketNotification",
|
2018-03-07 17:25:24 +01:00
|
|
|
"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",
|
2019-09-21 03:46:37 +02:00
|
|
|
"s3:List*",
|
2017-07-14 06:50:55 +02:00
|
|
|
"s3:PutBucketAcl",
|
2019-10-17 20:33:55 +02:00
|
|
|
"s3:PutBucketLogging",
|
|
|
|
"s3:PutBucketNotification",
|
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",
|
2019-10-17 20:33:55 +02: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": "*"
|
2019-06-17 20:41:20 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"Sid": "ManageEFS",
|
|
|
|
"Effect": "Allow",
|
|
|
|
"Action": [
|
|
|
|
"elasticfilesystem:*"
|
|
|
|
],
|
|
|
|
"Resource": "*"
|
2017-07-14 06:50:55 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|