Skip to content

Commit

Permalink
feat: [PQ-247] add nodo per payment manager api to assistenza product (
Browse files Browse the repository at this point in the history
…#2639)

[PQ-247] add nodo per payment manager api to assistenza product
  • Loading branch information
aferracci authored Dec 12, 2024
1 parent 039bfaf commit 5d47ab5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/core/apim_nodo_services_09_nodo_per_pm.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,21 @@ resource "azurerm_api_management_api_version_set" "nodo_per_pm_api" {
versioning_scheme = "Segment"
}

#fetch technical support api product APIM product
data "azurerm_api_management_product" "technical_support_api_product" {
product_id = "technical_support_api"
api_management_name = data.azurerm_api_management.apim_migrated[0].name
resource_group_name = data.azurerm_resource_group.rg_api.name
}

module "apim_nodo_per_pm_api_v1" {

source = "git::https://github.com/pagopa/azurerm.git//api_management_api?ref=v2.1.13"

name = format("%s-nodo-per-pm-api", local.project)
api_management_name = data.azurerm_api_management.apim_migrated[0].name
resource_group_name = data.azurerm_resource_group.rg_api.name
product_ids = [data.azurerm_api_management_product.technical_support_api_product.product_id]
subscription_required = local.apim_nodo_per_pm_api.subscription_required
version_set_id = azurerm_api_management_api_version_set.nodo_per_pm_api.id
api_version = "v1"
Expand Down

0 comments on commit 5d47ab5

Please sign in to comment.