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
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
If an issue is assigned to the "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 to "hashibot", a community member has claimed the issue already.
Plan should complete successfully as it does on pre 0.12 TF versions
Actual Behavior
Error: Unsupported argument
on modules/container-cluster/main.tf line 115, in resource "google_container_cluster" "cluster":
115: cidr_blocks = [
An argument named "cidr_blocks" is not expected here. Did you mean to define a
block of type "cidr_blocks"?
Steps to Reproduce
Create the above resource on a pre 0.12 version of Terraform & providers
Update to Terraform 0.12 & respective providers
terraform plan
References
There was some discussion about this here but it's unclear where it ended up: hashicorp/terraform#20505
The text was updated successfully, but these errors were encountered:
As mentioned in the terraform 0.12 upgrade guide, you can no longer use the cidr_blocks = [{ ... }] attribute format in your config files, you need to use the cidr_blocks { } block format.
This is, unfortunately, outside the control of the provider and is documented behavior, so I'm going to close this issue out, but if you have further issues or I've misunderstood what's going on here, please feel free to reply and I can take a look again.
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!
ghost
locked and limited conversation to collaborators
Sep 1, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform Version
Terraform: 0.12.4
Google Provider: 2.11.0
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Plan should complete successfully as it does on pre 0.12 TF versions
Actual Behavior
Steps to Reproduce
terraform plan
References
There was some discussion about this here but it's unclear where it ended up: hashicorp/terraform#20505
The text was updated successfully, but these errors were encountered: