ecs-blue-green-deployment
ecs-blue-green-deployment copied to clipboard
Do not require public-read acl
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.