Skip to content

Commit

Permalink
try to fix stupid cname deletion problem
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed Jan 20, 2024
1 parent ea6e53d commit efea344
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/web/app/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,7 @@ resource "azurerm_dns_cname_record" "tikweb_cdn_cname_record" {
zone_name = var.root_zone_name
ttl = 300
record = azurerm_cdn_endpoint.next-cdn-endpoint.fqdn
lifecycle {
replace_triggered_by = [azurerm_cdn_endpoint_custom_domain.tikweb_cdn_domain]
}
}

0 comments on commit efea344

Please sign in to comment.