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 } }