Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(examples): changed provider from google-beta to google #540

Merged
merged 1 commit into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
}