-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
google_compute_route next_hop_network is not an input (doc error) #5556
Comments
Hi @allandrick - thanks for the report. I just checked, and it looks like we pass NextHopNetwork into the Route create API call. So perhaps the doc bug is on the upstream side?
Let's check w/ @lwander here. |
Looks like that attribute has been set like that since it was first added: https://github.com/hashicorp/terraform/blame/master/builtin/providers/google/resource_compute_route.go#L61. I don't think it's a docs error on the Google side, since it's possible to set attributes in the object sent the API that are simply ignored. @phinze, if we add |
@lwander if the field has been ignored up until now, I think it's probably fine to just switch it straight to read only - since that should present a straightforward plan-time error. We can add a note to the top of the changelog to explain. What do you think? |
SGTM! |
PR fixing this was merged. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
https://www.terraform.io/docs/providers/google/r/compute_route.html
lists next_hop_network as an optional input. According to https://cloud.google.com/compute/docs/reference/latest/routes this is an output only.
Regards,
The text was updated successfully, but these errors were encountered: