From 43cf2bc69510481a51c335c723afde14a84bdb54 Mon Sep 17 00:00:00 2001 From: Nathalie Date: Fri, 9 Aug 2024 16:33:54 +0200 Subject: [PATCH] ensure dns_keys output freshness (#2495) Co-authored-by: Julio Castillo --- modules/dns/main.tf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/dns/main.tf b/modules/dns/main.tf index 2c4c823031..45e5769a50 100644 --- a/modules/dns/main.tf +++ b/modules/dns/main.tf @@ -159,6 +159,9 @@ resource "google_dns_managed_zone_iam_binding" "iam_bindings" { data "google_dns_keys" "dns_keys" { managed_zone = local.managed_zone.id + depends_on = [ + google_dns_managed_zone.dns_managed_zone + ] } resource "google_dns_record_set" "dns_record_set" {