-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Plan fails when a resource depends on google_compute_address
#12645
Comments
For anybody who might also be having this issue, downgrading to |
Running plan with the provider on
However, this doesn't solve my use case because I'm using this address for a cloud NAT, so it needs to be a public external address, which means I have to leave the |
It doesn't make sense to me because using version When |
@juicemia that is why it is called a breaking-change. An issue is expected. You may choose to keep v3.90.1 or delete the state and import the resource with new version. I agree it is not the optimal and we have done out best to minimize the impacts |
I'm sorry maybe I've been unclear about what exactly the issue is. The The change you linked is breaking because it changes the API of |
@slevenick what do you think about this? |
If you apply the address first does it work? What are the actual values coming out of the .address value from that resource? This is strange, because it seems like the address value coming out of the |
Oh, I believe this was fixed in GoogleCloudPlatform/magic-modules#5526 Upgrading to a newer version of the provider should fix it |
Running the latest module version has the same issue. I was doing this in a brand new project. As soon as I get some time I'll try your suggestion of running |
You're seeing this with version 4.30+ of the provider? |
I see this on version 4.X of the provider. |
What version specifically? |
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. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Terraform should have been able to create a plan with a firewall that depends on a
google_compute_address
.The plan should show the following for the firewall (this was taken using module version
3.90.1
):Actual Behavior
Terraform fails to create a plan with the following error:
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: