Skip to content

Commit

Permalink
[IT-1090] enable BucketOwnerPreferred option (Sage-Bionetworks#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
clarisse-lau authored Mar 17, 2021
1 parent e4d99b6 commit 1ff2015
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions s3-synapse-sync-bucket.j2
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ Resources:
AllowedOrigins: ['*']
AllowedMethods: [GET, POST, PUT, HEAD]
MaxAge: 3000
OwnershipControls:
Rules:
- ObjectOwnership: BucketOwnerPreferred
# LambdaBucketPermission must be setup before NotificationConfiguration
# https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig.html
{% if sceptre_user_data.EnableNotificationConfiguration.lower() == 'true' %}
Expand Down

0 comments on commit 1ff2015

Please sign in to comment.