From 523416357929b876480b2e9eda2a39706f79fda1 Mon Sep 17 00:00:00 2001 From: mkhtse Date: Tue, 3 Jun 2025 10:50:00 -0400 Subject: [PATCH] Remove hardcoded gcp-beta The use of google-beta was added to accommodate network_profile at the time. It's now GA and the hard-coded beta provider causes the return of URL for nework_profile "https://www.googleapis.com/compute/beta/projects/......." when the actual infra is "networkProfile: https://www.googleapis.com/compute/v1/projects" ( from gcloud compute networks describe ) --- modules/vpc/main.tf | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/vpc/main.tf b/modules/vpc/main.tf index 617e794b4..b5ecc6248 100644 --- a/modules/vpc/main.tf +++ b/modules/vpc/main.tf @@ -18,7 +18,6 @@ VPC configuration *****************************************/ resource "google_compute_network" "network" { - provider = google-beta name = var.network_name auto_create_subnetworks = var.auto_create_subnetworks routing_mode = var.routing_mode