Skip to content

Commit

Permalink
[#IOPID-2507] Remove old fn-lollipop (#1364)
Browse files Browse the repository at this point in the history
Co-authored-by: arcogabbo <arcogabbo@gmail.com>
Co-authored-by: Krusty93 <andera.grillo@pagopa.it>
  • Loading branch information
3 people authored Dec 18, 2024
1 parent 3a6c4be commit 26956aa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 521 deletions.
44 changes: 0 additions & 44 deletions src/domains/citizen-auth-app/01_network_itn.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,50 +65,6 @@ module "fn_profile_async_snet" {
# Private Endpoints
#########################

## fn-lollipop-itn

resource "azurerm_private_endpoint" "function_lollipop_itn_sites" {
name = "${local.common_project_itn}-lollipop-fn-pep-01"
location = local.itn_location
resource_group_name = azurerm_resource_group.lollipop_rg_itn.name
subnet_id = data.azurerm_subnet.itn_pep.id

private_service_connection {
name = "${local.common_project_itn}-lollipop-fn-pep-01"
private_connection_resource_id = module.function_lollipop_itn.id
is_manual_connection = false
subresource_names = ["sites"]
}

private_dns_zone_group {
name = "private-dns-zone-group"
private_dns_zone_ids = [data.azurerm_private_dns_zone.privatelink_azurewebsites_net.id]
}

tags = var.tags
}

resource "azurerm_private_endpoint" "staging_function_lollipop_itn_sites" {
name = "${local.common_project}-lollipop-fn-staging-pep-01"
location = local.itn_location
resource_group_name = azurerm_resource_group.lollipop_rg_itn.name
subnet_id = data.azurerm_subnet.itn_pep.id

private_service_connection {
name = "${local.common_project_itn}-lollipop-fn-staging-app-pep-01"
private_connection_resource_id = module.function_lollipop_itn.id
is_manual_connection = false
subresource_names = ["sites-${module.function_lollipop_staging_slot_itn.name}"]
}

private_dns_zone_group {
name = "private-dns-zone-group"
private_dns_zone_ids = [data.azurerm_private_dns_zone.privatelink_azurewebsites_net.id]
}

tags = var.tags
}

## itn-profile-fn

resource "azurerm_private_endpoint" "function_profile_itn_sites" {
Expand Down
Loading

0 comments on commit 26956aa

Please sign in to comment.