diff --git a/terraform/blazor_client.tf b/terraform/blazor_client.tf index 06f85ca..cfd71a9 100644 --- a/terraform/blazor_client.tf +++ b/terraform/blazor_client.tf @@ -37,6 +37,6 @@ resource "cloudflare_record" "cname_record" { resource "azurerm_static_web_app_custom_domain" "custom_domain" { static_web_app_id = azurerm_static_web_app.blazor-client.id - domain_name = "${data.cloudflare_zone.dns_zone.name}.${cloudflare_record.cname_record.name}" + domain_name = "${cloudflare_record.cname_record.name}.${data.cloudflare_zone.dns_zone.name}" validation_type = "cname-delegation" }