Skip to content

Commit cfe719e

Browse files
danielkzaphobologic
authored andcommitted
Upload blueprint templates with bucket-owner-full-control ACL (#713)
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.
1 parent 1f1df37 commit cfe719e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stacker/actions/base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ def s3_stack_push(self, blueprint, force=False):
189189
self.s3_conn.put_object(Bucket=self.bucket_name,
190190
Key=key_name,
191191
Body=blueprint.rendered,
192-
ServerSideEncryption='AES256')
192+
ServerSideEncryption='AES256',
193+
ACL='bucket-owner-full-control')
193194
logger.debug("Blueprint %s pushed to %s.", blueprint.name,
194195
template_url)
195196
return template_url

0 commit comments

Comments
 (0)