Skip to content

Commit e39a508

Browse files
fix base_shared project value
1 parent 62274d7 commit e39a508

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3-networks-hub-and-spoke/modules/base_shared_vpc/dns.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ data "google_compute_network" "vpc_dns_hub" {
3535
count = var.mode == "spoke" ? 1 : 0
3636

3737
name = data.google_compute_network.vpc_base_net_hub[0].name
38-
project = var.restricted_net_hub_project_id
38+
project = var.base_net_hub_project_id
3939
}
4040

4141
module "peering_zone" {

3-networks-hub-and-spoke/modules/base_shared_vpc/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module "main" {
7070
data "google_compute_network" "vpc_base_net_hub" {
7171
count = var.mode == "spoke" ? 1 : 0
7272
name = "vpc-c-shared-base-hub"
73-
project = var.restricted_net_hub_project_id
73+
project = var.base_net_hub_project_id
7474
}
7575

7676
module "peering" {

0 commit comments

Comments
 (0)