-
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
Existing google_compute_interconnect_attachment causing plan to fail #8791
Existing google_compute_interconnect_attachment causing plan to fail #8791
Comments
@robertb724 I am able to create the resource successfully with similar config as yours
Can you please check if the sample config works for you. We will take it from there . |
@venkykuberan I am able to create the resources with that configuration on both v3.61.0 and v3.62.0. However, if I create the resources with v3.61.0, change provider version to v3.62.0 and then run
|
Yes that's due to the dat type change (string to int) in 3.62.0 from GoogleCloudPlatform/magic-modules#4601. Looks like that's breaking change. Also default value |
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. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
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
terraform version: v0.12.29
google provider version: "v3.62.0"
Affected Resource(s)
Terraform Configuration Files
Debug Output
Error: A number is required
Panic Output
Expected Behavior
No Changes: Infrastructure is up to date
Actual Behavior
Terraform plan errors without code change with error
Error: A number is required
Steps to Reproduce
terraform plan
Important Factoids
We do not explicitly set our provider, after the release of v3.62.0 our terraform fails during the plan with
Error: A number is required
. The error does not indicate any line number and is repeated four times. After looking at the release notes for v3.62.0 I see the change in data type for the mtu field on the interconnect resource and connect the dots since we have 4 interconnect attachments. We do not set the mtu field and are using the default. If I pass1440
as an int we still get the error.References
The text was updated successfully, but these errors were encountered: