Skip to content

Commit 2a8d987

Browse files
committed
Fix broken reference
1 parent 7aa71f3 commit 2a8d987

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

terraform/blazor_client.tf

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,19 @@ resource "cloudflare_record" "cname_record" {
3333
ttl = 3600
3434
}
3535

36+
resource "azurerm_static_web_app_custom_domain" "custom_domain" {
37+
static_web_app_id = azurerm_static_web_app.blazor-client.id
38+
domain_name = "${cloudflare_record.cname_record.hostname}"
39+
validation_type = "cname-delegation"
40+
}
41+
3642
# data "cloudflare_record" "cname_record" {
3743
# zone_id = data.cloudflare_zone.dns_zone.id
3844
# hostname = "${local.subdomain}.dddsouthwest.com"
3945
# }
4046

41-
resource "azurerm_static_web_app_custom_domain" "custom_domain" {
42-
static_web_app_id = azurerm_static_web_app.blazor-client.id
43-
domain_name = "${data.cloudflare_record.cname_record.hostname}"
44-
validation_type = "cname-delegation"
45-
}
47+
# resource "azurerm_static_web_app_custom_domain" "custom_domain" {
48+
# static_web_app_id = azurerm_static_web_app.blazor-client.id
49+
# domain_name = "${data.cloudflare_record.cname_record.hostname}"
50+
# validation_type = "cname-delegation"
51+
# }

0 commit comments

Comments
 (0)