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
On Terraform v0.6.3, it looks like google_compute_instance_template.network_interface.network is not supposed to be a network name like the documentation suggests. You will get the following error:
* google_compute_instance_template.foo: Error creating instance: googleapi: Error 400: Invalid value for field 'resource.properties.networkInterfaces[0].network': 'bar'. The URL is malformed., invalid
Using the network's .self_link works.
The "Example Usage" on that page should also be wrong, unless there is some sort of special handling for the "default" network.
The text was updated successfully, but these errors were encountered:
Oddly enough, "default" works on its own. I think it would be neater to simply provide a network name rather than note in the documentation to provide a URI to the network. What do you think?
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.
ghost
locked and limited conversation to collaborators
Apr 30, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On Terraform v0.6.3, it looks like
google_compute_instance_template.network_interface.network
is not supposed to be a network name like the documentation suggests. You will get the following error:Using the network's
.self_link
works.The "Example Usage" on that page should also be wrong, unless there is some sort of special handling for the "default" network.
The text was updated successfully, but these errors were encountered: