Open
Description
Describe the Feature
There are a lot of warnings being generated by the module in version 0.82.5
Here's a partial example related to "aws_s3_bucket"
resource
acl
argument is deprecated, Use theaws_s3_bucket_acl
resource instead- Use the
aws_s3_bucket_versioning
resource instead cdn.logs/main.tf line 1, in resource "aws_s3_bucket" "default":
Use theaws_s3_bucket_server_side_encryption_configuration
resource instead
Basically there are deprecated arguments in the following modules/resources:
- https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/blob/0.82.5/main.tf#L325
- https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/blob/0.82.5/main.tf#L232
Expected Behavior
There's a way to replace the aws_s3_bucket
resource (https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/blob/0.82.5/main.tf#L232) with terraform-aws-s3-bucket
module and with this specific tag (https://github.com/terraform-aws-modules/terraform-aws-s3-bucket/tree/v3.0.1)
Also we'll need to implement something similar for https://github.com/cloudposse/terraform-aws-cloudfront-s3-cdn/blob/0.82.5/main.tf#L326
Use Case
Removing the warnings which are generated by the module
Describe Ideal Solution
- Use
terraform-aws-s3-bucket
module instead of theaws_s3_bucket
resource and the same goes forlogs
module
Alternatives Considered
No response
Additional Context
No response
Metadata
Assignees
Labels
No labels