aws-sam-cli icon indicating copy to clipboard operation
aws-sam-cli copied to clipboard

Support --acl parameter for sam package

Open kowalski opened this issue 5 years ago • 3 comments

It would be very helpful if sam package command accepted --acl parameter. It would be passed on to uploads to S3 done by the client (similarly how --metadata works). This would allow to work with S3 buckets that require specific ACL settings. Currently we need to resort to some tedious workarounds (like allowing more permissive policy, iterating over s3 key under prefix and chaning permissions with aws s3api put-object-acl.

Would be so great not to have to do it this way.

kowalski avatar Sep 01 '20 17:09 kowalski

Hi Same issue I'm facing, it will be helpful to have this feature so we can package our resources and send it to our production buckets as artifacts.

faboulaye avatar Jan 14 '21 11:01 faboulaye

Created a basic PR to try and address this as this is a feature we require as well.

celestialorb avatar Feb 01 '21 19:02 celestialorb

@celestialorb nice! I really hope this gets accepted!

kowalski avatar Feb 01 '21 20:02 kowalski