Skip to content

Commit

Permalink
Upload blueprint templates with bucket-owner-full-control ACL (#713)
Browse files Browse the repository at this point in the history
This way it's possible to use a shared stacker bucket from a master
account in configs contain stacks with profiles of different child
accounts.
  • Loading branch information
danielkza authored and phobologic committed Mar 12, 2019
1 parent 1f1df37 commit cfe719e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stacker/actions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def s3_stack_push(self, blueprint, force=False):
self.s3_conn.put_object(Bucket=self.bucket_name,
Key=key_name,
Body=blueprint.rendered,
ServerSideEncryption='AES256')
ServerSideEncryption='AES256',
ACL='bucket-owner-full-control')
logger.debug("Blueprint %s pushed to %s.", blueprint.name,
template_url)
return template_url
Expand Down

0 comments on commit cfe719e

Please sign in to comment.