From 95dbfa14f592f4c60603b995bd9296e11fa85ebd Mon Sep 17 00:00:00 2001 From: Modular Magician Date: Wed, 17 Jun 2020 19:34:33 +0000 Subject: [PATCH] enable google_dns_policy to accept network id (#3636) * enable google_dns_policy to accept network id * two ids in dns_managed_zone example Co-authored-by: Edward Sun Signed-off-by: Modular Magician --- dns_policy_basic/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns_policy_basic/main.tf b/dns_policy_basic/main.tf index 275b04c6..456006a8 100644 --- a/dns_policy_basic/main.tf +++ b/dns_policy_basic/main.tf @@ -14,10 +14,10 @@ resource "google_dns_policy" "example-policy" { } 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 } }