Fix dnssec_config issue on state off (#2035)
This commit is contained in:
parent
4c68c016a9
commit
dda0250c4c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue