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

Need to update some deprecated terraform variables parameter in modules

heinhtetnwyoma opened this issue Β· comments

Description

Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration (see the examples/* directory for references that you can copy+paste and tailor to match your configs if you are unable to copy your exact configuration). The reproduction MUST be executable by running terraform init && terraform apply without any further changes.

If your request is for a new feature, please use the Feature request template.

  • βœ‹ I have searched the open/closed issues and my issue is not listed.

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Module version [Required]:

  • Terraform version:

  • Provider version(s):

Reproduction Code [Required]

Steps to reproduce the behavior:

Refer to this terraform doc : https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket

We need to update modules with latest terraform resources.

Expected behavior

This module is not occurred the deprecated status.

Actual behavior

Warning: Deprecated attribute
β”‚   on .terraform/modules/s3-storage/main.tf line 27, in resource "aws_s3_bucket" "this":
β”‚   27:       acceleration_status,
β”‚ 
β”‚ The attribute "acceleration_status" is deprecated. Refer to the provider
β”‚ documentation for details.
β”‚ 
β”‚ (and 4 more similar warnings elsewhere)

image

Terminal Output Screenshot(s)

image

Additional context

Facing the same issue

It would REALLY HELP if you complete the issue template and provide all required details (code snippets, versions, etc).

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.