ecs-blue-green-deployment icon indicating copy to clipboard operation
ecs-blue-green-deployment copied to clipboard

Do not require public-read acl

Open jwoehrle opened this issue 5 years ago • 0 comments

Issue: some companies do not allow the usage of public-read ACL for S3. In that case the bin/deploy aws s3 cp <filename> <target-bucket> --acl public-read will fail.

Description of changes: This change removes the --acl public-read. To make sure cloudformation is still able to access the file in the s3 bucket its execution role gets s3:GetObject permission on the template bucket.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jwoehrle avatar Mar 23 '20 14:03 jwoehrle