Skip to content

Commit

Permalink
Refactor cloudflare_record content in dns.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlahbib committed Nov 16, 2024
1 parent a86f1c8 commit 8dbb161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/dns.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "cloudflare_record" "app" {
zone_id = var.CLOUDFLARE_ZONE_ID
name = var.dns_name
value = try(
content = try(
kubernetes_ingress_v1.prod-ingress.status[0].load_balancer[0].ingress[0].hostname,
"PENDING_LB_HOSTNAME"
)
Expand Down

0 comments on commit 8dbb161

Please sign in to comment.