-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws_s3_bucket_* backported to version 3.75.1 #23981
Comments
Hi @rngan 👋 , thank you for raising this issue. For reference, this has been noted in #23758 . In cases where arguments are removed from the source S3 bucket resource, you'll want to include the following block in the source S3 bucket, where the
More example usage should be available in each independent resource's documentation page hosted at https://registry.terraform.io/providers/hashicorp/aws/3.75.1/docs. |
I'm going to close this issue as it's a duplicate of #23758, but if you have any follow-up questions please reach out there 👍 |
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. |
Running:
AWS Provider
version 3.75.1
TF
version 1.1.5
I tested migrating to the backported S3 resources for:
aws_s3_bucket_logging
aws_s3_bucket_server_side_encryption_configuration
It creates the resources the first time, no problem. However on subsequent plans/applies using the exact same code (no changes - just a re-rerun), it removes the resources. 3rd time, it creates again.
FYI, I also tested the following:
aws_s3_bucket_acl
aws_s3_bucket_versioning
No issues, works as expected. Resources stay even after subsequent runs.
Terraform Configuration Files
Expected Behavior
It creates the resources during the 1st plan/apply.
Actual Behavior
It removes the resources during the 2nd plan/apply.
It adds the resources during the 3rd plan/apply.
Keeps going in circles during each subsequent plan/apply.
References
https://github.com/hashicorp/terraform-provider-aws/releases/tag/v3.75.0
#23106 (comment)
The text was updated successfully, but these errors were encountered: