Skip to content

Commit

Permalink
Merge pull request #58 from ollionorg/bug/fix-2
Browse files Browse the repository at this point in the history
fixed as per SCC
  • Loading branch information
amansingh14 authored Mar 11, 2024
2 parents d6ed32a + 18dbbdc commit 67c17d8
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 4-projects/BU_NAME/development/example_peering_project.tf
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,14 @@ resource "google_compute_firewall" "allow_lb" {

target_tags = ["allow-lb"]
}

##enable dns policy on Peering vpc
resource "google_dns_policy" "default_policy" {
project = module.peering_project.project_id
name = "dp-peering-policy"
enable_inbound_forwarding = "true"
enable_logging = "true"
networks {
network_url = module.peering_network.network_self_link
}
}
11 changes: 11 additions & 0 deletions 4-projects/BU_NAME/production/example_peering_project.tf
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,14 @@ resource "google_compute_firewall" "allow_lb" {

target_tags = ["allow-lb"]
}

##enable dns policy on Peering vpc
resource "google_dns_policy" "default_policy" {
project = module.peering_project.project_id
name = "dp-peering-policy"
enable_inbound_forwarding = "true"
enable_logging = "true"
networks {
network_url = module.peering_network.network_self_link
}
}
11 changes: 11 additions & 0 deletions 4-projects/BU_NAME/staging/example_peering_project.tf
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,14 @@ resource "google_compute_firewall" "allow_lb" {

target_tags = ["allow-lb"]
}

##enable dns policy on Peering vpc
resource "google_dns_policy" "default_policy" {
project = module.peering_project.project_id
name = "dp-peering-policy"
enable_inbound_forwarding = "true"
enable_logging = "true"
networks {
network_url = module.peering_network.network_self_link
}
}

0 comments on commit 67c17d8

Please sign in to comment.