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
Using modules\gcve-private-cloud\main.tf for our new private cloud/VEN deployment resulting in the following error:
╷
│ Error: projects/redactedproject/locations/us-central1/vmwareEngineNetworks/redactednetwork not found
│
│ with module.gcve-private-cloud.data.google_vmwareengine_network.existing_vmware_engine_network,
│ on .terraform/modules/gcve-private-cloud/modules/gcve-private-cloud/main.tf line 17, in data "google_vmwareengine_network" "existing_vmware_engine_network":
│ 17: data "google_vmwareengine_network" "existing_vmware_engine_network" {
│
╵
Error: Failed to perform terraform plan. Unexpected exit code: 1
We worked around this by referencing the module locally and changing modules\gcve-private-cloud\main.tf data block to have a depends_on:
Using modules\gcve-private-cloud\main.tf for our new private cloud/VEN deployment resulting in the following error:
╷
│ Error: projects/redactedproject/locations/us-central1/vmwareEngineNetworks/redactednetwork not found
│
│ with module.gcve-private-cloud.data.google_vmwareengine_network.existing_vmware_engine_network,
│ on .terraform/modules/gcve-private-cloud/modules/gcve-private-cloud/main.tf line 17, in data "google_vmwareengine_network" "existing_vmware_engine_network":
│ 17: data "google_vmwareengine_network" "existing_vmware_engine_network" {
│
╵
Error: Failed to perform terraform plan. Unexpected exit code: 1
We worked around this by referencing the module locally and changing modules\gcve-private-cloud\main.tf data block to have a depends_on:
data "google_vmwareengine_network" "existing_vmware_engine_network" {
provider = google-beta
project = var.project
name = var.vmware_engine_network_name
location = var.vmware_engine_network_location
depends_on = [ google_vmwareengine_network.vmware_engine_network ]
}
The text was updated successfully, but these errors were encountered: