terraform-aws-modules / terraform-aws-s3-bucket

Terraform module to create AWS S3 resources 🇺🇦

Home Page:https://registry.terraform.io/modules/terraform-aws-modules/s3-bucket/aws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

example for BucketOwnerEnforced (disabled ACLs)

marekaf opened this issue · comments

Is your request related to a problem? Please describe.

Hi. I think it is not clear on how to create an S3 bucket with ACLs disabled (BucketOwnerEnforced, acl not set).

Creating a bucket with object_ownership = "BucketOwnerEnforced" and acl = "private" will fail. It is not clear enough from the README as why this is wrong.

Describe the solution you'd like.

Is it possible to provide a working example in examples/complete perhaps? Also to mention what and if acl variable should be set to.

Thanks!