Skip to content

Commit

Permalink
fix default domain reference
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrodal committed Sep 12, 2024
1 parent b587f31 commit 2b6a92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/frontend/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ locals {
dns_zone_name = "imo-msw-dev.kystverket.cloud"
dns_prefix = "preview"
dns_resource_group_name = "rg-dns"
public_hostname = local.create_dns == 1 ? "${local.dns_prefix}.${local.dns_zone_name}" : "${local.container_app_name}.${module.appenv.container_app_environment_default_domain}"
public_hostname = local.create_dns == 1 ? "${local.dns_prefix}.${local.dns_zone_name}" : "${local.container_app_name}.${var.container_app_environment_default_domain}"
}

resource "azurerm_container_app" "frontend" {
Expand Down

0 comments on commit 2b6a92e

Please sign in to comment.