Skip to content

Commit

Permalink
chore(examples): changed provider from google-beta to google (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoisa authored Jan 17, 2024
1 parent c548cb2 commit a63813e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions examples/private_service_connect_google_apis/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions examples/private_service_connect_google_apis/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ terraform {
required_version = ">=0.12.6"

required_providers {
google-beta = {
source = "hashicorp/google-beta"
google = {
source = "hashicorp/google"
}
}
}

0 comments on commit a63813e

Please sign in to comment.