Open sirius-ed-hammond opened 9 months ago
Note that the instance given is a malformed URL: https://www.googleapis.com/compute/v1/pprojects/PROJECT_ID/zones/us-east1-a/instances/net1vm1
Note the pprojects
instead of projects
.
The error message could certainly be improved, but ultimately I think this is WAI.
Community Note
Terraform Version
Terraform v1.7.3 hashicorp/google v5.17.0
Affected Resource(s)
google_network_connectivity_spoke
withlinked_router_appliance_instances
specificationTerraform Configuration
Debug Output
Below is the output of the apply
Expected Behavior
Should create a spoke with instance(s) it in like the Web Console supports.
Below is a display of the creation via the console. Note the virtualMachine selfLink correctly references
/zones/
as a qualifier. The use of/locations/
is in the hub specification, not the VMs.Actual Behavior
An error is returned saying that the URI string for the VM instance should have
/locations
in the string when in fact/zones
is in the reference to VMs.Steps to reproduce
terraform apply
Important Factoids
The documentation is unclear that multiple VMs should be listed. The documentation error was noted in April 2023 but has not been corrected.
References
b/327064919