Skip to content

Commit 7f6644d

Browse files
fix lint and module names
1 parent 5ee619b commit 7f6644d

File tree

2 files changed

+9
-9
lines changed
  • 3-networks-hub-and-spoke/modules

2 files changed

+9
-9
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ module "peering_zone" {
5757
/******************************************
5858
DNS Forwarding
5959
*****************************************/
60-
module "dns-forwarding-zone" {
60+
module "dns_forwarding_zone" {
6161
source = "terraform-google-modules/cloud-dns/google"
6262
version = "~> 5.0"
6363

64-
count = var.mode != "spoke" ? 1 : 0
64+
count = var.mode != "spoke" ? 1 : 0
6565

6666
project_id = var.project_id
6767
type = "forwarding"
6868
name = "fz-dns-hub"
6969
domain = var.domain
7070

7171
private_visibility_config_networks = [
72-
module.dns_hub_vpc.network_self_link
72+
module.main.network_self_link
7373
]
74-
target_name_server_addresses = data.google_compute_network.vpc_dns_hub.self_link
75-
}
74+
target_network = data.google_compute_network.vpc_dns_hub.self_link
75+
}

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ module "peering_zone" {
5757
/******************************************
5858
DNS Forwarding
5959
*****************************************/
60-
module "dns-forwarding-zone" {
60+
module "dns_forwarding_zone" {
6161
source = "terraform-google-modules/cloud-dns/google"
6262
version = "~> 5.0"
6363

64-
count = var.mode != "spoke" ? 1 : 0
64+
count = var.mode != "spoke" ? 1 : 0
6565

6666
project_id = var.project_id
6767
type = "forwarding"
6868
name = "fz-dns-hub"
6969
domain = var.domain
7070

7171
private_visibility_config_networks = [
72-
module.dns_hub_vpc.network_self_link
72+
module.main.network_self_link
7373
]
74-
target_name_server_addresses = data.google_compute_network.vpc_dns_hub.self_link
74+
target_network = data.google_compute_network.vpc_dns_hub.self_link
7575
}

0 commit comments

Comments
 (0)