Fix dnssec_config issue on state off (#2035)

This commit is contained in:
Harald Haas 2024-02-01 07:53:32 +01:00 committed by GitHub
parent 4c68c016a9
commit dda0250c4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ resource "google_dns_managed_zone_iam_binding" "iam_bindings" {
}
data "google_dns_keys" "dns_keys" {
count = try(var.zone_config.public.dnssec_config, null) != null ? 1 : 0
count = try(var.zone_config.public.dnssec_config.state, "off") != "off" ? 1 : 0
managed_zone = local.managed_zone.id
project = var.project_id
}