Skip to content

Commit

Permalink
fix openapi
Browse files Browse the repository at this point in the history
  • Loading branch information
aomegax committed May 2, 2024
1 parent 3ecefa5 commit ee2d4ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions infra/04_apim_api_oracle.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resource "azurerm_api_management_api_version_set" "api_apiconfig_cache_node_api_
}

module "apim_api_apiconfig_cache_node_api_v1_o" {
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v5.1.0"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v8.5.0"

name = format("%s-apiconfig-cache-node-%s-api", local.project, local.oracle)
api_management_name = local.apim.name
Expand Down Expand Up @@ -48,8 +48,8 @@ resource "azurerm_api_management_api_version_set" "api_apiconfig_cache_node_nexi
}

module "apim_api_apiconfig_cache_node_nexi_api_dev_v1" {
count = var.env_short == "d" ? 1 : 0
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.4.1"
count = var.env_short == "d" ? 1 : 0
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v8.5.0"

name = format("%s-apiconfig-cache-node-%s-api", local.project, "nexi")
api_management_name = local.apim.name
Expand Down Expand Up @@ -89,8 +89,8 @@ resource "azurerm_api_management_api_version_set" "api_apiconfig_cache_replica_n
}

module "apim_api_apiconfig_cache_replica_node_api_v1_o" {
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.4.1"
count = var.env_short == "p" ? 0 : 1
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v8.5.0"

name = format("%s-apiconfig-cache-replica-node-%s-api", local.project, "o")
api_management_name = local.apim.name
Expand Down
2 changes: 1 addition & 1 deletion infra/04_apim_api_postgres_nexi.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ resource "azurerm_api_management_api_version_set" "api_apiconfig_cache_node_api_

module "apim_api_apiconfig_cache_node_api_v1_p_nexi" {
count = var.env_short == "p" ? 0 : 1
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v5.1.0"
source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v8.5.0"
name = format("%s-apiconfig-cache-node-nexi-%s-api", local.project, local.postgres)
api_management_name = local.apim.name
resource_group_name = local.apim.rg
Expand Down

0 comments on commit ee2d4ed

Please sign in to comment.