Skip to content

Commit

Permalink
Update proxied null value to use default value
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Aug 22, 2024
1 parent 6f6b2fc commit 1784718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "cloudflare_record" "default" {
type = each.value.type
value = each.value.value
priority = lookup(each.value, "priority", null)
proxied = lookup(each.value, "proxied", local.records_default_proxied)
proxied = each.value["proxied"] != null ? each.value["proxied"] : local.records_default_proxied
ttl = lookup(each.value, "ttl", 1)
}

Expand Down

0 comments on commit 1784718

Please sign in to comment.