Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APIM-v2 MIGRATION] change reference to apim-v2 #205

Merged
merged 3 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions infra/container_apps/apim.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
locals {
apim_name = format("selc-%s-apim", var.env_short)
apim_rg = format("selc-%s-api-rg", var.env_short)
apim_name = format("selc-%s-apim-v2", var.env_short)
apim_rg = format("selc-%s-api-v2-rg", var.env_short)
api_name = format("selc-%s-api-bff-proxy", var.env_short)
}

Expand All @@ -17,7 +17,7 @@ resource "azurerm_api_management_api_version_set" "apim_api_bff_proxy" {

module "apim_api_bff_proxy" {
count = var.is_pnpg ? 0 : 1
source = "github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v7.50.1"
source = "github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v8.18.0"
name = local.api_name
api_management_name = local.apim_name
resource_group_name = local.apim_rg
Expand Down
20 changes: 10 additions & 10 deletions infra/container_apps/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ module "container_app_party_reg_proxy" {
app_settings = var.app_settings
secrets_names = var.secrets_names
workload_profile_name = var.workload_profile_name
probes = [
probes = [
{
httpGet = {
path = "actuator/health"
port = 8080
scheme = "HTTP"
}
timeoutSeconds = 30
type = "Liveness"
failureThreshold = 3
timeoutSeconds = 30
type = "Liveness"
failureThreshold = 3
initialDelaySeconds = 1
},
{
Expand All @@ -41,9 +41,9 @@ module "container_app_party_reg_proxy" {
port = 8080
scheme = "HTTP"
}
timeoutSeconds = 30
type = "Readiness"
failureThreshold = 30
timeoutSeconds = 30
type = "Readiness"
failureThreshold = 30
initialDelaySeconds = 30
},
{
Expand All @@ -52,9 +52,9 @@ module "container_app_party_reg_proxy" {
port = 8080
scheme = "HTTP"
}
timeoutSeconds = 30
failureThreshold = 30
type = "Startup"
timeoutSeconds = 30
failureThreshold = 30
type = "Startup"
initialDelaySeconds = 60
}
]
Expand Down
Loading