Skip to content

Commit a8937bd

Browse files
committed
Uncomment DNS records!
1 parent 2a8d987 commit a8937bd

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

terraform/blazor_client.tf

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ resource "azurerm_static_web_app_custom_domain" "custom_domain" {
3939
validation_type = "cname-delegation"
4040
}
4141

42-
# data "cloudflare_record" "cname_record" {
43-
# zone_id = data.cloudflare_zone.dns_zone.id
44-
# hostname = "${local.subdomain}.dddsouthwest.com"
45-
# }
46-
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-
# }
42+
data "cloudflare_record" "cname_record" {
43+
zone_id = data.cloudflare_zone.dns_zone.id
44+
hostname = "${local.subdomain}.dddsouthwest.com"
45+
}
46+
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)