Skip to content

Commit

Permalink
fix outbound ip adress input
Browse files Browse the repository at this point in the history
  • Loading branch information
madsrodal committed Sep 11, 2024
1 parent 744cd90 commit 37c6e53
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,14 @@ module "frontend" {
// Conditionally created for imo-msw preview environment
// Can be removed or altered for other applications
module "dns" {
count = local.create_imo_msw_preview_dns
source = "./modules/dns"
dns_zone_name = "imo-msw-dev.kystverket.cloud"
dns_resource_group_name = "rg-dns"
dns_prefix = "preview"
resource_group_name = azurerm_resource_group.imo_app.name
container_app_id = module.frontend.container_app_id
frontend_fqdn = module.frontend.fqdn
custom_domain_verification_id = module.frontend.custom_domain_verification_id
count = local.create_imo_msw_preview_dns
source = "./modules/dns"
dns_zone_name = "imo-msw-dev.kystverket.cloud"
dns_resource_group_name = "rg-dns"
dns_prefix = "preview"
resource_group_name = azurerm_resource_group.imo_app.name
container_app_id = module.frontend.container_app_id
frontend_outbound_ip_addresses = module.frontend.outbound_ip_addresses
frontend_fqdn = module.frontend.fqdn
custom_domain_verification_id = module.frontend.custom_domain_verification_id
}

0 comments on commit 37c6e53

Please sign in to comment.