Skip to content

Commit

Permalink
enable google_dns_managed_zone to accept network id for two attribute…
Browse files Browse the repository at this point in the history
…s (#3602) (#55)

* enable google_dns_managed_zone to accept network id for two attributes

* updated doc to include supporting id along with fully qualified url

* enable google_dns_managed_zone to accept network id for two attributes

Co-authored-by: Edward Sun <sunedward@google.com>
Signed-off-by: Modular Magician <magic-modules@google.com>

Co-authored-by: Edward Sun <sunedward@google.com>
  • Loading branch information
modular-magician and Edward Sun authored Jun 4, 2020
1 parent b7999f1 commit 24a9831
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dns_managed_zone_private/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ resource "google_dns_managed_zone" "private-zone" {

private_visibility_config {
networks {
network_url = google_compute_network.network-1.self_link
network_url = google_compute_network.network-1.id
}
networks {
network_url = google_compute_network.network-2.self_link
network_url = google_compute_network.network-2.id
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions dns_managed_zone_private_peering/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ resource "google_dns_managed_zone" "peering-zone" {

private_visibility_config {
networks {
network_url = google_compute_network.network-source.self_link
network_url = google_compute_network.network-source.id
}
}

peering_config {
target_network {
network_url = google_compute_network.network-target.self_link
network_url = google_compute_network.network-target.id
}
}
}
Expand Down

0 comments on commit 24a9831

Please sign in to comment.