Skip to content

Commit

Permalink
Merge pull request #66 from gitvchandra/master
Browse files Browse the repository at this point in the history
Fix issue related to S3 Bucket Ownership Control and othe minor changes.
  • Loading branch information
JoseRolles authored Apr 26, 2023
2 parents eb86a26 + 3b5d98e commit 8dcfde5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ Resources:
Condition: CreateWeb
Properties:
BucketName: !Join ["-", [!Ref WebsiteS3BucketName, "log"]]
OwnershipControls:
Rules:
- ObjectOwnership: BucketOwnerPreferred
IntelligentTieringConfigurations:
- Id: !Join ["-", [!Ref WebsiteS3BucketName, "log"]]
Status: Enabled
Expand Down Expand Up @@ -436,4 +439,4 @@ Outputs:
CreateWeb,
!Sub "https://${CloudfrontDistribution.DomainName}/index.html",
"N/A",
]
]

0 comments on commit 8dcfde5

Please sign in to comment.