-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Variable changes from TF 0.11 have affected functionality - not in changelog #2348
Comments
I was hit by the same issue in aws_vpc. One additional example with simple lb: Terraform 0.11, provider: 1.2 main.tf
Terraform 0.11, provider: 1.3 main.tf
Terraform 0.11, provider: 1.3 'name' - explicitly provided main.tf
Terraform 0.11, provider: 1.3 'name_prefix' - explicitly provided main.tf
|
Any news regarding this issue ? It completely prevents us from moving to 1.3.1. |
Please fix this!!! ASAP this is screwing off a lot of stuff and breaking all our modules!! |
same here |
+1 |
I have made some simple bisecting of the changes and it seems that strange things started to happen after this commit: vendor: github.com/hashicorp/terraform/[email protected] This is update to the vendor which introduced a lot from terraform core. Within those changes I see some related to new way of calculating resources diffs. This change seems to have very negative impact on lots of my modules where default empty values are in use. |
This is a production breaking issue. Please fix ASAP |
I got exactly the same issue. The only solution for now was to pin AWS provider plugin version to v |
@grzegorzlisowski i think the |
We are similarly affected, Terraform wants to continually destroy+create our ec2 instances because of this issue. |
Hi all! Sorry for this unintended regression. It looks like this same issue was also reported in #2451 and #2468, which I've now closed to consolidate the discussion over here. However, I want to capture some notes on those issues here so we don't lose track:
As @bdashrad noted, this is likely to be a result of upgrading the vendored version of the Terraform provider framework (the packages under We'll investigate this further to get to the bottom of what's going on here. In the mean time, I suggest staying on v1.2.0 if you use modules that depend on the prior behavior, until this issue is closed. |
Thx for the clear explanation @apparentlymart! This seems like a pretty major regression that will break most Terraform modules, so keep us posted on your progress. |
We recently vendored some Terraform core updates into now released terraform-provider-aws version 1.7.0, which was why the issue was closed two days ago. It would be great to receive some feedback if these issues are fully resolved. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
Hi @apparentlymart Martin, I don't think this is fixed. I'm still seeing this behavior in v.011 + aws 1.9. specifically when working with the aws_rds_cluster resource |
@apparentlymart is there an ETA on this or has this been fixed? |
@apparentlymart also having issues with this in v.0.11.7 and aws 1.11.0 - specifically aws_db_instance |
@apparentlymart I'm facing the same issue. |
I don't work on the AWS provider currently so I can't help directly here, but since this is a closed issue I would suggest opening a new issue if you are seeing a problem, and be sure to include all of the information requested in the issue template so that the AWS provider team can understand how your situation is different than the one that was fixed by the PR that closed this issue. |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Terraform Version
0.10.6
Affected Resource(s)
anything inside of a module, possibly any resource using
default = ""
Terraform Configuration Files
variables.tf:
main.tf
Expected Behavior
Running apply multiple times would not change the resource
Actual Behavior
Running apply wants to remove/create the resource on every apply due to it thinking that private ip has changed and wants to recreate it
Steps to Reproduce
Important Factoids
In aws 1.2 this was fine, in aws 1.3 its not
References
#2345
The text was updated successfully, but these errors were encountered: