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"