From 8e3e161f1aca9a2d3f811e884198a1ed81a68fb1 Mon Sep 17 00:00:00 2001 From: ajoisa <127156004+ajoisa@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:45:32 -0800 Subject: [PATCH] changed provider from google-beta to google --- examples/private_service_connect_google_apis/main.tf | 4 ---- examples/private_service_connect_google_apis/versions.tf | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/private_service_connect_google_apis/main.tf b/examples/private_service_connect_google_apis/main.tf index c45267c2..320db5bc 100644 --- a/examples/private_service_connect_google_apis/main.tf +++ b/examples/private_service_connect_google_apis/main.tf @@ -16,14 +16,12 @@ # [START vpc_subnet_private_access] resource "google_compute_network" "network" { - provider = google-beta project = var.project # Replace this with your project ID in quotes name = "tf-test" auto_create_subnetworks = false } resource "google_compute_subnetwork" "vpc_subnetwork" { - provider = google-beta project = google_compute_network.network.project name = "test-subnetwork" ip_cidr_range = "10.2.0.0/16" @@ -35,7 +33,6 @@ resource "google_compute_subnetwork" "vpc_subnetwork" { # [START compute_internal_ip_private_access] resource "google_compute_global_address" "default" { - provider = google-beta project = google_compute_network.network.project name = "global-psconnect-ip" address_type = "INTERNAL" @@ -47,7 +44,6 @@ resource "google_compute_global_address" "default" { # [START compute_forwarding_rule_private_access] resource "google_compute_global_forwarding_rule" "default" { - provider = google-beta project = google_compute_network.network.project name = "globalrule" target = "all-apis" diff --git a/examples/private_service_connect_google_apis/versions.tf b/examples/private_service_connect_google_apis/versions.tf index 0f75583c..4b8a3383 100644 --- a/examples/private_service_connect_google_apis/versions.tf +++ b/examples/private_service_connect_google_apis/versions.tf @@ -18,8 +18,8 @@ terraform { required_version = ">=0.12.6" required_providers { - google-beta = { - source = "hashicorp/google-beta" + google = { + source = "hashicorp/google" } } }