Skip to content

Commit

Permalink
Merge pull request #135 from Ensono/fix/cdn-ss-module
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvenSpellmaker committed Aug 13, 2024
2 parents e7a984f + abca035 commit 63bc257
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azurerm/modules/azurerm-server-side-app/cdn.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ resource "azurerm_dns_cname_record" "default" {
}

resource "azurerm_cdn_endpoint_custom_domain" "default" {
count = var.create_cdn_endpoint ? 1 : 0

name = var.resource_namer
cdn_endpoint_id = azurerm_cdn_endpoint.default.0.id
host_name = trimsuffix(azurerm_dns_cname_record.default.0.fqdn, ".")
Expand Down

0 comments on commit 63bc257

Please sign in to comment.