Skip to content

Commit

Permalink
Fix dnssec_config issue on state off (#2035)
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldhaas authored Feb 1, 2024
1 parent 4c68c01 commit dda0250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dns/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit dda0250

Please sign in to comment.