terraform-aws-s3-bucket
terraform-aws-s3-bucket copied to clipboard
`Warning: Argument is deprecated` regarding `acl`
Describe the Bug
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Warning: Argument is deprecated
│
│ with module.this.module.cloudfront.aws_s3_bucket.origin,
│ on .terraform/modules/this.cloudfront/main.tf line 257, in resource "aws_s3_bucket" "origin":
│ 257: acl = "private"
│
│ Use the aws_s3_bucket_acl resource instead
Expected Behavior
No warnig outputs 4.0.1
Steps to Reproduce
init/plan/apply using version
Screenshots
No response
Environment
- OS: MacOS on 2018 MAcBookPro (Arm)
Additional Context
No response