Skip to content

There are many deprecated resources related to S3 #263

Open
@alex131290

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 the aws_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 the aws_s3_bucket_server_side_encryption_configuration resource instead

Basically there are deprecated arguments in the following modules/resources:

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 the aws_s3_bucket resource and the same goes for logs module

Alternatives Considered

No response

Additional Context

No response

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions