Skip to content

Commit 29cc92e

Browse files
adding storage.us-central1 as the network connectivity regional endp… (#11347) (#757)
[upstream:ec0e3487c63415526c54d55ff5c0f383638914a3] Signed-off-by: Modular Magician <[email protected]>
1 parent f273c43 commit 29cc92e

File tree

2 files changed

+3
-3
lines changed
  • network_connectivity_regional_endpoint_global_access
  • network_connectivity_regional_endpoint_regional_access

2 files changed

+3
-3
lines changed

network_connectivity_regional_endpoint_global_access/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ resource "google_compute_subnetwork" "my_subnetwork" {
1313
resource "google_network_connectivity_regional_endpoint" "default" {
1414
name = "my-rep-${local.name_suffix}"
1515
location = "us-central1"
16-
target_google_api = "boqcodelabjaimin-pa.us-central1.p.rep.googleapis.com"
16+
target_google_api = "storage.us-central1.p.rep.googleapis.com"
1717
access_type = "GLOBAL"
1818
address = "192.168.0.4"
1919
network = google_compute_network.my_network.id

network_connectivity_regional_endpoint_regional_access/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ resource "google_compute_subnetwork" "my_subnetwork" {
1313
resource "google_network_connectivity_regional_endpoint" "default" {
1414
name = "my-rep-${local.name_suffix}"
1515
location = "us-central1"
16-
target_google_api = "boqcodelabjaimin-pa.us-central1.p.rep.googleapis.com"
16+
target_google_api = "storage.us-central1.p.rep.googleapis.com"
1717
access_type = "REGIONAL"
1818
address = "192.168.0.5"
1919
network = google_compute_network.my_network.id
2020
subnetwork = google_compute_subnetwork.my_subnetwork.id
21-
description = "My RegionalEndpoint targeting Google API boqcodelabjaimin-pa.us-central1.p.rep.googleapis.com"
21+
description = "My RegionalEndpoint targeting Google API storage.us-central1.p.rep.googleapis.com"
2222
labels = {env = "default"}
2323
}

0 commit comments

Comments
 (0)