awslabs / landing-zone-accelerator-on-aws

Deploy a multi-account cloud foundation to support highly-regulated workloads and complex compliance requirements.
https://aws.amazon.com/solutions/implementations/landing-zone-accelerator-on-aws/
Apache License 2.0
517 stars 405 forks source link

s3 Buckets BUCKET_OWNER_PREFERRED #436

Open danilobuerger opened 3 months ago

danilobuerger commented 3 months ago

Is your feature request related to a problem? Please describe.

The created s3 buckets are set to BUCKET_OWNER_PREFERRED which is not the default. I was wondering why that is.

Describe the feature you'd like

Setting the Object Ownership to BUCKET_OWNER_ENFORCED (which is the default).

nagmesh commented 3 months ago

Thank you for your interest in Landing Zone Accelerator (LZA) on AWS!

Do you see this with all LZA created buckets or some LZA buckets? Which version of LZA do you currently observe this on?

danilobuerger commented 3 months ago

@nagmesh We are using 1.6.1 . As you can see its set here: https://github.com/awslabs/landing-zone-accelerator-on-aws/blob/acb6f296bf996993945a54ca2907badfd9ee2020/source/packages/%40aws-accelerator/constructs/lib/aws-s3/bucket.ts#L174 https://github.com/awslabs/landing-zone-accelerator-on-aws/blob/acb6f296bf996993945a54ca2907badfd9ee2020/source/packages/%40aws-accelerator/accelerator/lib/stacks/bootstrap-stack.ts#L544