File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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+ # }
You can’t perform that action at this time.
0 commit comments