4d58d16793
People expect to be able to upload files to s3 using standard locations for files. Providing an action plugin that effectively rewrites the `src` key to the result of finding such a file is a great help. Tests added, and IAM permissions corrected
23 lines
601 B
JSON
23 lines
601 B
JSON
{
|
|
"Version": "2012-10-17",
|
|
"Statement": [
|
|
{
|
|
"Sid": "AlowS3AnsibleTestBuckets",
|
|
"Action": [
|
|
"s3:GetObject",
|
|
"s3:ListBucket",
|
|
"s3:PutBucketAcl",
|
|
"s3:CreateBucket",
|
|
"s3:PutObject",
|
|
"s3:PutObjectAcl",
|
|
"s3:DeleteBucket",
|
|
"s3:DeleteObject"
|
|
],
|
|
"Effect": "Allow",
|
|
"Resource": [
|
|
"arn:aws:s3:::ansible-test-*",
|
|
"arn:aws:s3:::ansible-test-*/*"
|
|
]
|
|
}
|
|
]
|
|
}
|