Ensure module uses aws_s3_bucket_acl resource
david-heward-unmind opened this issue · comments
Simple one really.
│ Warning: Argument is deprecated
│
│ with module.s3_bucket.aws_s3_bucket.this,
│ on main.tf line 5, in resource "aws_s3_bucket" "this":
│ 5: resource "aws_s3_bucket" "this" {
│
│ Use the aws_s3_bucket_acl resource instead
│
│ (and 10 more similar warnings elsewhere)
(and 10 more similar warnings elsewhere)
Not that simple I would say. See here, there's a lot of deprecated arguments:
https://registry.terraform.io/providers/hashicorp/aws/3.75.0/docs/resources/s3_bucket
It means almost entire module has to be rewritten using new resources.
Indeed there is. That's a bit of scope creep. My issue did not say address all warnings. Fixing the issues warning should be easy enough.
Closing as duplicate of #139
I'm going to lock this issue because it has been closed for 30 days