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

Default page show deprecated example of using acl/versioning

ashish-logmaster opened this issue · comments

Is your request related to a new offering from AWS?

When running "terraform validate", it will show deprecation messages for use of acl and versioning.
These are in the default as example on page https://registry.terraform.io/modules/terraform-aws-modules/s3-bucket/aws/latest

Describe the solution you'd like.

Update the example doc so that when terraform does not show deprecation messages:
│ Use the aws_s3_bucket_acl resource instead
│ Use the aws_s3_bucket_versioning resource instead

Additional context

Following examples to build out new s3 bucket while making them private and enabling versioning.