You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
terraform apply w/ v3.0 of the module results in a loop with removal of options and then subsequent re-adding of options such as server side encryption, logging etc.
#144
Closed
jaybocc2 opened this issue
Apr 2, 2022
· 1 comment
· Fixed by #145
terraform apply w/ v3.0 of the module results in a loop with removal of options and then subsequent re-adding of options such as server side encryption, logging etc.
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:
Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists
Steps to reproduce the behavior:
do multiple applies. the plan/apply will always differ either adding the logging rule via s3_bucket_logging or removing it via s3_bucket.
yes
yes
upgraded to aws 3.75.1 due to oopsie upgrade to 3.0 of module
Expected behavior
buckets to consistently configure
Actual behavior
enters loop with bucket configures, reconfigures
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered:
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.
Description
terraform apply w/ v3.0 of the module results in a loop with removal of options and then subsequent re-adding of options such as server side encryption, logging etc.
This is caused by missing the lifecycle rules that are required to use the 4.x style bucket calls in 3.75.1
https://registry.terraform.io/providers/hashicorp/aws/3.75.1/docs/resources/s3_bucket_replication_configuration#usage-notes
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 runningterraform init && terraform apply
without any further changes.If your request is for a new feature, please use the
Feature request
template.Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]:
Terraform version:
1.1.7
Provider version(s):
aws 3.75.1
Reproduction Code [Required]
Steps to reproduce the behavior:
do multiple applies. the plan/apply will always differ either adding the logging rule via s3_bucket_logging or removing it via s3_bucket.
yes
yes
upgraded to aws 3.75.1 due to oopsie upgrade to 3.0 of module
Expected behavior
buckets to consistently configure
Actual behavior
enters loop with bucket configures, reconfigures
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: