From e430893906baabf67890cad6e2e566eff04d7610 Mon Sep 17 00:00:00 2001 From: Russell Day Date: Thu, 25 Apr 2024 22:25:09 +0100 Subject: [PATCH] Read from data --- terraform/blazor_client.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/blazor_client.tf b/terraform/blazor_client.tf index dfda55c..21c6416 100644 --- a/terraform/blazor_client.tf +++ b/terraform/blazor_client.tf @@ -28,7 +28,7 @@ data "cloudflare_zone" "dns_zone" { } resource "cloudflare_record" "example" { - zone_id = cloudflare_zone.dns_zone.id + zone_id = data.cloudflare_zone.dns_zone.id name = local.subdomain value = azurerm_static_web_app.blazor-client.default_host_name type = "CNAME"