From 6fbe0ecb904d287ac9dbbd69d99bb38035fe1c63 Mon Sep 17 00:00:00 2001 From: Marco Mari <130982006+mamari90@users.noreply.github.com> Date: Thu, 21 Nov 2024 15:15:55 +0100 Subject: [PATCH] feat: Paymcloud 172 afm app (#2574) * Updated afm-app tf provider --- src/domains/afm-app/.terraform.lock.hcl | 108 +++++++++--------- src/domains/afm-app/02_namespace.tf | 3 +- src/domains/afm-app/04_apim_afm_calculator.tf | 13 ++- .../afm-app/04_apim_afm_marketplace.tf | 6 +- .../04_apim_afm_marketplace_assistenza.tf | 2 +- .../afm-app/05_aks_middleware_tools.tf | 30 ++--- src/domains/afm-app/99_main.tf | 11 +- src/domains/afm-app/README.md | 39 ++++--- .../afm-app/env/weu-dev/terraform.tfvars | 4 +- .../afm-app/env/weu-prod/terraform.tfvars | 4 +- .../afm-app/env/weu-uat/terraform.tfvars | 4 +- 11 files changed, 117 insertions(+), 107 deletions(-) diff --git a/src/domains/afm-app/.terraform.lock.hcl b/src/domains/afm-app/.terraform.lock.hcl index 2190e21d50..bb32a77483 100644 --- a/src/domains/afm-app/.terraform.lock.hcl +++ b/src/domains/afm-app/.terraform.lock.hcl @@ -26,50 +26,50 @@ provider "registry.terraform.io/hashicorp/azuread" { } provider "registry.terraform.io/hashicorp/azurerm" { - version = "3.45.0" - constraints = ">= 3.30.0, <= 3.45.0, <= 3.53.0" + version = "3.116.0" + constraints = "~> 3.30, <= 3.116.0" hashes = [ - "h1:4BOYXFMiLk4ozEZHUhquRnE5urebcWvaCUV3uys646o=", - "h1:V3CLlXij3vZzxw51hvCBnqriy73llPG21NjO+7sLr+U=", - "h1:VQWxV5+qelZeUCjpdLvZ7iAom4RvG+fVVgK6ELvw/cs=", - "h1:WupjURkT1JPNBRzKmrSsD1Y8zhuQnL3ctKBpNLZBsLA=", - "h1:gQLNY1I5e9kcle1p/VYEWb0eteQ/t5kUfnqVu2/GBNY=", - "zh:04c5dbb8845366ce5eb0dc2d55e151270cc2c0ace20993867fdae9af43b953ad", - "zh:2589585da615ccae341400d45d672ee3fae413fdd88449b5befeff12a85a44b2", - "zh:603869ed98fff5d9bf841a51afd9e06b628533c59356c8433aef4b15df63f5f7", - "zh:853fecab9c987b6772c8d9aa10362675f6c626b60ebc7118aa33ce91366fcc38", - "zh:979848c45e8e058862c36ba3a661457f7c81ef26ebb6634f479600de9c203d65", - "zh:9b512c8588ecc9c1b803b746a3a8517422561a918f0dfb0faaa707ed53ef1760", - "zh:a9601ffb58043426bcff1220662d6d137f0b2857a24f2dcf180aeac2c9cea688", - "zh:d52d2652328f0ed3ba202561d88cb9f43c174edbfaab1abf69f772125dbfe15e", - "zh:d92d91ca597c47f575bf3ae129f4b723be9b7dcb71b906ec6ec740fac29b1aaa", - "zh:ded73b730e4197b70fda9e83447c119f92f75dc37be3ff2ed45730c8f0348c28", - "zh:ec37ac332d50f8ca5827f97198346b0f8ecbf470e2e3ba1e027bb389d826b902", + "h1:2QbjtN4oMXzdA++Nvrj/wSmWZTPgXKOSFGGQCLEMrb4=", + "h1:3v5wgHWHRB3J5sByxhgkPEOmL9H4GeFIasitGI36bkM=", + "h1:BCR3NIorFSvGG3v/+JOiiw3VM4PkChLO4m84wzD9NDo=", + "h1:SJM/KQDW9blKFmLMaupsZVYtcZ0fYpjLHEriMgCBGCY=", + "h1:jwwbQ09fH1RdcNsknt1AkvfSUbULsl7nZQn6S8fabFI=", + "zh:02b6606aff025fc2a962b3e568e000300abe959adac987183c24dac8eb057f4d", + "zh:2a23a8ce24ff9e885925ffee0c3ea7eadba7a702541d05869275778aa47bdea7", + "zh:57d10746384baeca4d5c56e88872727cdc150f437b8c5e14f0542127f7475e24", + "zh:59e3ebde1a2e1e094c671e179f231ead60684390dbf02d2b1b7fe67a228daa1a", + "zh:5f1f5c7d09efa2ee8ddf21bd9efbbf8286f6e90047556bef305c062fa0ac5880", + "zh:a40646aee3c9907276dab926e6123a8d70b1e56174836d4c59a9992034f88d70", + "zh:c21d40461bc5836cf56ad3d93d2fc47f61138574a55e972ad5ff1cb73bab66dc", + "zh:c56fb91a5ae66153ba0f737a26da1b3d4f88fdef7d41c63e06c5772d93b26953", + "zh:d1e60e85f51d12fc150aeab8e31d3f18f859c32f927f99deb5b74cb1e10087aa", + "zh:ed35e727e7d79e687cd3d148f52b442961ede286e7c5b4da1dcd9f0128009466", "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", + "zh:f6d2a4e7c58f44e7d04a4a9c73f35ed452f412c97c85def68c4b52814cbe03ab", ] } provider "registry.terraform.io/hashicorp/helm" { - version = "2.5.1" - constraints = "2.5.1, <= 2.7.1" + version = "2.12.0" + constraints = "2.12.0, ~> 2.12" hashes = [ - "h1:9yMFsXyHAo+mUuMKczNSw44HcZaf1JkMqgOUgJF1dXs=", - "h1:NasRPC0qqlpGqcF3dsSoOFu7uc5hM+zJm+okd8FgrnQ=", - "h1:a9KwjqINdNy6IsEbkHUB1vwvYfy5OJ2VxFL9/NDFLoY=", - "h1:g3CzhAURjVq69AJ1u2d3DWd+i0rSmLX+JXSIts9BV6A=", - "h1:gogHvv1qr8bPzk5y1BoeTA5dOZt47byTXWXW3CJQ5C8=", - "zh:140b9748f0ad193a20d69e59d672f3c4eda8a56cede56a92f931bd3af020e2e9", - "zh:17ae319466ed6538ad49e011998bb86565fe0e97bc8b9ad7c8dda46a20f90669", - "zh:3a8bd723c21ba70e19f0395ed7096fc8e08bfc23366f1c3f06a9107eb37c572c", - "zh:3aae3b82adbe6dca52f1a1c8cf51575446e6b0f01f1b1f3b30de578c9af4a933", - "zh:3f65221f40148df57d2888e4f31ef3bf430b8c5af41de0db39a2b964e1826d7c", - "zh:650c74c4f46f5eb01df11d8392bdb7ebee3bba59ac0721000a6ad731ff0e61e2", - "zh:930fb8ab4cd6634472dfd6aa3123f109ef5b32cbe6ef7b4695fae6751353e83f", - "zh:ae57cd4b0be4b9ca252bc5d347bc925e35b0ed74d3dcdebf06c11362c1ac3436", - "zh:d15b1732a8602b6726eac22628b2f72f72d98b75b9c6aabceec9fd696fda696a", - "zh:d730ede1656bd193e2aea5302acec47c4905fe30b96f550196be4a0ed5f41936", - "zh:f010d4f9d8cd15936be4df12bf256cb2175ca1dedb728bd3a866c03d2ee7591f", + "h1:8EsvI/hOM9Q9ltVhkQfeK2NF4cr0RxHiUPqdmddcKHI=", + "h1:N29oQNxmZR0tOdpUSeHZCLY/ML0Pa14a+CqDbBApSuw=", + "h1:ZNtHw95EKvgnnU+1B7dLpF0bFvTFJKc4I7RwDCVy7Vs=", + "h1:nk9CCuHkvoJZbbI90ybKiVlU2SUQCIdsmREzOoDtY8Q=", + "h1:q2t74cDvT3Ig4DlkCpk0Rqslc5FUs6I40dRdkMWZX4E=", + "zh:08aa5b177db2603a0ecf9728f867cbccbd663f4a3867251729604692c21cd28f", + "zh:13ce638a3f5f88c9e0da951472619d4449172a3f5cb0332eaba87964456c88ac", + "zh:43e90052d05a4adde7aab9df2d6b807de0bbae550a9b7a76f93d946c30cf9814", + "zh:4451cf0f8bd3a62a72451d0941eb936b2ff5089bf7acf80a28d82f486e19188e", + "zh:490ce970334cf398dc48bf9239854578a4d1ef7227048606ee4bb838a83d231e", + "zh:97c14100faeb8c9e237338925b3f2443489e6099684f8636c966dad05c19a6f6", + "zh:9da8bb2250ff9a160279206563957f25ae4ba0242698dc22181d677a6ff13aba", + "zh:a4bb8fea89baae7bb1a7c0a99d32e4e39c9ad822efa8ad76821cabf3b5f0da5b", + "zh:c006da0cb8e80d37f7386336671018b3e437113a9fd54b32954b454731da6376", + "zh:da8d7c2b7c8256f2c0c968a2e1690ffb7a183a3daa911e98fa15f6d2c0562ea1", "zh:f569b65999264a9416862bca5cd2a6177d94ccb0424f3a4ef424428912b9cb3c", + "zh:fedf8e76f2d03de84819f0192974433b13dc668f901e98672af05e3d3fd13a03", ] } @@ -98,25 +98,25 @@ provider "registry.terraform.io/hashicorp/kubernetes" { } provider "registry.terraform.io/hashicorp/null" { - version = "3.1.1" - constraints = "3.1.1, <= 3.2.1" + version = "3.2.0" + constraints = "3.2.0, ~> 3.2" hashes = [ - "h1:1J3nqAREzuaLE7x98LEELCCaMV6BRiawHSg9MmFvfQo=", - "h1:71sNUDvmiJcijsvfXpiLCz0lXIBSsEJjMxljt7hxMhw=", - "h1:Pctug/s/2Hg5FJqjYcTM0kPyx3AoYK1MpRWO0T9V2ns=", - "h1:YvH6gTaQzGdNv+SKTZujU1O0bO+Pw6vJHOPhqgN8XNs=", - "h1:ZD4wyZ0KJzt5s2mD0xD7paJlVONNicLvZKdgtezz02I=", - "zh:063466f41f1d9fd0dd93722840c1314f046d8760b1812fa67c34de0afcba5597", - "zh:08c058e367de6debdad35fc24d97131c7cf75103baec8279aba3506a08b53faf", - "zh:73ce6dff935150d6ddc6ac4a10071e02647d10175c173cfe5dca81f3d13d8afe", + "h1:6yiJqQ6JAJW3oMxuZrWoUgHYpkscorX40Q/LzOMzY+w=", + "h1:J80oY79aQzHfzXYidtMrn9+G+F4YLL4iJqFBMHbLcWM=", + "h1:ZbuTqXe8q7Z0IJ2wkF4nio7eZDQc02sezY0esJ5b1Bc=", + "h1:mOyH5zzIfGum26vacbWuAYgcIvJ+oMtjh+5Ao0ZHUgM=", + "h1:pfjuwssoCoBDRbutlVLAP8wiDrkQ3G4d3rs+f7uSh2A=", + "zh:1d88ea3af09dcf91ad0aaa0d3978ca8dcb49dc866c8615202b738d73395af6b5", + "zh:3844db77bfac2aca43aaa46f3f698c8e5320a47e838ee1318408663449547e7e", + "zh:538fadbd87c576a332b7524f352e6004f94c27afdd3b5d105820d328dc49c5e3", + "zh:56def6f00fc2bc9c3c265b841ce71e80b77e319de7b0f662425b8e5e7eb26846", "zh:78d5eefdd9e494defcb3c68d282b8f96630502cac21d1ea161f53cfe9bb483b3", - "zh:8fdd792a626413502e68c195f2097352bdc6a0df694f7df350ed784741eb587e", - "zh:976bbaf268cb497400fd5b3c774d218f3933271864345f18deebe4dcbfcd6afa", - "zh:b21b78ca581f98f4cdb7a366b03ae9db23a73dfa7df12c533d7c19b68e9e72e5", - "zh:b7fc0c1615dbdb1d6fd4abb9c7dc7da286631f7ca2299fb9cd4664258ccfbff4", - "zh:d1efc942b2c44345e0c29bc976594cb7278c38cfb8897b344669eafbc3cddf46", - "zh:e356c245b3cd9d4789bab010893566acace682d7db877e52d40fc4ca34a50924", - "zh:ea98802ba92fcfa8cf12cbce2e9e7ebe999afbf8ed47fa45fc847a098d89468b", - "zh:eff8872458806499889f6927b5d954560f3d74bf20b6043409edf94d26cd906f", + "zh:8fce56e5f1d13041d8047a1d0c93f930509704813a28f8d39c2b2082d7eebf9f", + "zh:989e909a5eca96b8bdd4a0e8609f1bd525949fd226ae870acedf2da0c55b0451", + "zh:99ddc34ad13e04e9c3477f5422fbec20fc13395ff940720c287bfa5c546d2fbc", + "zh:b546666da4b4b60c0eec23faab7f94dc900e48f66b5436fc1ac0b87c6709ef04", + "zh:d56643cb08cba6e074d70c4af37d5de2bd7c505f81d866d6d47c9e1d28ec65d1", + "zh:f39ac5ff9e9d00e6a670bce6825529eded4b0b4966abba36a387db5f0712d7ba", + "zh:fe102389facd09776502327352be99becc1ac09e80bc287db84a268172be641f", ] } diff --git a/src/domains/afm-app/02_namespace.tf b/src/domains/afm-app/02_namespace.tf index b89d1964de..19d6bf6cb2 100644 --- a/src/domains/afm-app/02_namespace.tf +++ b/src/domains/afm-app/02_namespace.tf @@ -5,7 +5,8 @@ resource "kubernetes_namespace" "namespace" { } module "pod_identity" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_pod_identity?ref=v6.5.0" + source = "./.terraform/modules/__v3__/kubernetes_pod_identity" + resource_group_name = local.aks_resource_group_name location = var.location diff --git a/src/domains/afm-app/04_apim_afm_calculator.tf b/src/domains/afm-app/04_apim_afm_calculator.tf index b73320b7cf..87cbe2dba8 100644 --- a/src/domains/afm-app/04_apim_afm_calculator.tf +++ b/src/domains/afm-app/04_apim_afm_calculator.tf @@ -51,7 +51,7 @@ locals { } module "apim_afm_calculator_product" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_product" product_id = "afm-calculator" display_name = local.apim_afm_calculator_service_api.display_name @@ -68,7 +68,7 @@ module "apim_afm_calculator_product" { } module "apim_afm_calculator_node_product" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_product" product_id = "afm-node-calculator" display_name = local.apim_afm_calculator_service_node_api.display_name @@ -127,7 +127,7 @@ resource "azurerm_api_management_api_version_set" "api_afm_calculator_api" { module "apim_api_afm_calculator_api_v1" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_api" name = format("%s-afm-calculator-service-api", local.project) api_management_name = local.pagopa_apim_name @@ -154,7 +154,8 @@ module "apim_api_afm_calculator_api_v1" { } module "apim_api_afm_calculator_api_v2" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3//api_management_api?ref=v6.11.2" + source = "./.terraform/modules/__v3__/api_management_api" + name = format("%s-afm-calculator-service-api", local.project) api_management_name = local.pagopa_apim_name @@ -195,7 +196,7 @@ resource "azurerm_api_management_api_version_set" "api_afm_calculator_node_api" } module "apim_api_afm_calculator_api_node_v1" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_api" name = format("%s-afm-calculator-service-node-api", local.project) api_management_name = local.pagopa_apim_name @@ -222,7 +223,7 @@ module "apim_api_afm_calculator_api_node_v1" { } module "apim_api_afm_calculator_api_node_v2" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_api" name = format("%s-afm-calculator-service-node-api", local.project) api_management_name = local.pagopa_apim_name diff --git a/src/domains/afm-app/04_apim_afm_marketplace.tf b/src/domains/afm-app/04_apim_afm_marketplace.tf index 26df19d7fe..5524150bf8 100644 --- a/src/domains/afm-app/04_apim_afm_marketplace.tf +++ b/src/domains/afm-app/04_apim_afm_marketplace.tf @@ -35,7 +35,7 @@ locals { } } module "apim_afm_marketplace_product" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_product" product_id = "afm-marketplace" display_name = local.apim_afm_marketplace_service_api.display_name @@ -62,7 +62,7 @@ resource "azurerm_api_management_api_version_set" "api_afm_marketplace_api" { module "apim_api_afm_marketplace_api_v1" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_api" name = format("%s-afm-marketplace-service-api", local.project) api_management_name = local.pagopa_apim_name @@ -102,7 +102,7 @@ resource "azurerm_api_management_api_version_set" "api_afm_utils_api" { } module "apim_api_afm_utils_v1" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_api" name = format("%s-afm-utils-api", local.project) api_management_name = local.pagopa_apim_name diff --git a/src/domains/afm-app/04_apim_afm_marketplace_assistenza.tf b/src/domains/afm-app/04_apim_afm_marketplace_assistenza.tf index 0a2acca30e..b33afa176b 100644 --- a/src/domains/afm-app/04_apim_afm_marketplace_assistenza.tf +++ b/src/domains/afm-app/04_apim_afm_marketplace_assistenza.tf @@ -29,7 +29,7 @@ resource "azurerm_api_management_api_version_set" "api_afm_marketplace_technical module "apim_api_afm_marketplace_technical_support_api_v1" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v6.5.0" + source = "./.terraform/modules/__v3__/api_management_api" name = format("%s-afm-marketplace-service-technical-support-api", local.project) api_management_name = local.pagopa_apim_name diff --git a/src/domains/afm-app/05_aks_middleware_tools.tf b/src/domains/afm-app/05_aks_middleware_tools.tf index 876739e5b2..d3e9e384e6 100644 --- a/src/domains/afm-app/05_aks_middleware_tools.tf +++ b/src/domains/afm-app/05_aks_middleware_tools.tf @@ -1,19 +1,21 @@ module "tls_checker" { - source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//tls_checker?ref=v5.5.2" + source = "./.terraform/modules/__v3__/tls_checker" - https_endpoint = local.afm_hostname - alert_name = local.afm_hostname - alert_enabled = true - helm_chart_present = true - helm_chart_version = var.tls_cert_check_helm.chart_version - namespace = kubernetes_namespace.namespace.metadata[0].name - helm_chart_image_name = var.tls_cert_check_helm.image_name - helm_chart_image_tag = var.tls_cert_check_helm.image_tag - location_string = var.location_string - application_insights_connection_string = data.azurerm_application_insights.application_insights.connection_string - application_insights_resource_group = data.azurerm_resource_group.monitor_rg.name - application_insights_id = data.azurerm_application_insights.application_insights.id - application_insights_action_group_ids = [data.azurerm_monitor_action_group.slack.id, data.azurerm_monitor_action_group.email.id] + https_endpoint = local.afm_hostname + alert_name = local.afm_hostname + alert_enabled = true + helm_chart_present = true + helm_chart_version = var.tls_cert_check_helm.chart_version + namespace = kubernetes_namespace.namespace.metadata[0].name + helm_chart_image_name = var.tls_cert_check_helm.image_name + helm_chart_image_tag = var.tls_cert_check_helm.image_tag + location_string = var.location_string + application_insights_resource_group = data.azurerm_resource_group.monitor_rg.name + application_insights_id = data.azurerm_application_insights.application_insights.id + application_insights_action_group_ids = [data.azurerm_monitor_action_group.slack.id, data.azurerm_monitor_action_group.email.id] + kv_secret_name_for_application_insights_connection_string = "ai-${var.env_short}-connection-string" + keyvault_name = data.azurerm_key_vault.kv.name + keyvault_tenant_id = data.azurerm_client_config.current.tenant_id } resource "helm_release" "cert_mounter" { diff --git a/src/domains/afm-app/99_main.tf b/src/domains/afm-app/99_main.tf index 374095f351..4e0de80112 100644 --- a/src/domains/afm-app/99_main.tf +++ b/src/domains/afm-app/99_main.tf @@ -2,7 +2,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = ">= 3.30.0, <= 3.53.0" + version = "<= 3.116.0" } azuread = { source = "hashicorp/azuread" @@ -10,7 +10,7 @@ terraform { } null = { source = "hashicorp/null" - version = "= 3.1.1" + version = "= 3.2" } kubernetes = { source = "hashicorp/kubernetes" @@ -18,7 +18,7 @@ terraform { } helm = { source = "hashicorp/helm" - version = "= 2.5.1" + version = "= 2.12.0" } } @@ -46,3 +46,8 @@ provider "helm" { config_path = "${var.k8s_kube_config_path_prefix}/config-${local.aks_name}" } } + +module "__v3__" { + # v8.58.0 + source = "git::https://github.com/pagopa/terraform-azurerm-v3?ref=63f6181a6f3a51707a2ab4795bdbed2d888c708b" +} diff --git a/src/domains/afm-app/README.md b/src/domains/afm-app/README.md index 93cd863927..0724ff289a 100644 --- a/src/domains/afm-app/README.md +++ b/src/domains/afm-app/README.md @@ -1,33 +1,34 @@ # afm-app - + ## Requirements | Name | Version | |------|---------| | [azuread](#requirement\_azuread) | = 2.21.0 | -| [azurerm](#requirement\_azurerm) | >= 3.30.0, <= 3.53.0 | -| [helm](#requirement\_helm) | = 2.5.1 | +| [azurerm](#requirement\_azurerm) | <= 3.116.0 | +| [helm](#requirement\_helm) | = 2.12.0 | | [kubernetes](#requirement\_kubernetes) | = 2.11.0 | -| [null](#requirement\_null) | = 3.1.1 | +| [null](#requirement\_null) | = 3.2 | ## Modules | Name | Source | Version | |------|--------|---------| -| [apim\_afm\_calculator\_node\_product](#module\_apim\_afm\_calculator\_node\_product) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product | v6.5.0 | -| [apim\_afm\_calculator\_product](#module\_apim\_afm\_calculator\_product) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product | v6.5.0 | -| [apim\_afm\_marketplace\_product](#module\_apim\_afm\_marketplace\_product) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product | v6.5.0 | -| [apim\_api\_afm\_calculator\_api\_node\_v1](#module\_apim\_api\_afm\_calculator\_api\_node\_v1) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api | v6.5.0 | -| [apim\_api\_afm\_calculator\_api\_node\_v2](#module\_apim\_api\_afm\_calculator\_api\_node\_v2) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api | v6.5.0 | -| [apim\_api\_afm\_calculator\_api\_v1](#module\_apim\_api\_afm\_calculator\_api\_v1) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api | v6.5.0 | -| [apim\_api\_afm\_calculator\_api\_v2](#module\_apim\_api\_afm\_calculator\_api\_v2) | git::https://github.com/pagopa/terraform-azurerm-v3//api_management_api | v6.11.2 | -| [apim\_api\_afm\_marketplace\_api\_v1](#module\_apim\_api\_afm\_marketplace\_api\_v1) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api | v6.5.0 | -| [apim\_api\_afm\_marketplace\_technical\_support\_api\_v1](#module\_apim\_api\_afm\_marketplace\_technical\_support\_api\_v1) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api | v6.5.0 | -| [apim\_api\_afm\_utils\_v1](#module\_apim\_api\_afm\_utils\_v1) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api | v6.5.0 | -| [pod\_identity](#module\_pod\_identity) | git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_pod_identity | v6.5.0 | -| [tls\_checker](#module\_tls\_checker) | git::https://github.com/pagopa/terraform-azurerm-v3.git//tls_checker | v5.5.2 | +| [\_\_v3\_\_](#module\_\_\_v3\_\_) | git::https://github.com/pagopa/terraform-azurerm-v3 | 63f6181a6f3a51707a2ab4795bdbed2d888c708b | +| [apim\_afm\_calculator\_node\_product](#module\_apim\_afm\_calculator\_node\_product) | ./.terraform/modules/__v3__/api_management_product | n/a | +| [apim\_afm\_calculator\_product](#module\_apim\_afm\_calculator\_product) | ./.terraform/modules/__v3__/api_management_product | n/a | +| [apim\_afm\_marketplace\_product](#module\_apim\_afm\_marketplace\_product) | ./.terraform/modules/__v3__/api_management_product | n/a | +| [apim\_api\_afm\_calculator\_api\_node\_v1](#module\_apim\_api\_afm\_calculator\_api\_node\_v1) | ./.terraform/modules/__v3__/api_management_api | n/a | +| [apim\_api\_afm\_calculator\_api\_node\_v2](#module\_apim\_api\_afm\_calculator\_api\_node\_v2) | ./.terraform/modules/__v3__/api_management_api | n/a | +| [apim\_api\_afm\_calculator\_api\_v1](#module\_apim\_api\_afm\_calculator\_api\_v1) | ./.terraform/modules/__v3__/api_management_api | n/a | +| [apim\_api\_afm\_calculator\_api\_v2](#module\_apim\_api\_afm\_calculator\_api\_v2) | ./.terraform/modules/__v3__/api_management_api | n/a | +| [apim\_api\_afm\_marketplace\_api\_v1](#module\_apim\_api\_afm\_marketplace\_api\_v1) | ./.terraform/modules/__v3__/api_management_api | n/a | +| [apim\_api\_afm\_marketplace\_technical\_support\_api\_v1](#module\_apim\_api\_afm\_marketplace\_technical\_support\_api\_v1) | ./.terraform/modules/__v3__/api_management_api | n/a | +| [apim\_api\_afm\_utils\_v1](#module\_apim\_api\_afm\_utils\_v1) | ./.terraform/modules/__v3__/api_management_api | n/a | +| [pod\_identity](#module\_pod\_identity) | ./.terraform/modules/__v3__/kubernetes_pod_identity | n/a | +| [tls\_checker](#module\_tls\_checker) | ./.terraform/modules/__v3__/tls_checker | n/a | ## Resources @@ -54,8 +55,8 @@ | [azurerm_monitor_scheduled_query_rules_alert.opex_pagopa-afm-calculator-v2-availability-feesbypsp](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_scheduled_query_rules_alert) | resource | | [azurerm_monitor_scheduled_query_rules_alert.opex_pagopa-afm-calculator-v2-responsetime-fees](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_scheduled_query_rules_alert) | resource | | [azurerm_monitor_scheduled_query_rules_alert.opex_pagopa-afm-calculator-v2-responsetime-feesbypsp](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/monitor_scheduled_query_rules_alert) | resource | -| [helm_release.cert_mounter](https://registry.terraform.io/providers/hashicorp/helm/2.5.1/docs/resources/release) | resource | -| [helm_release.reloader](https://registry.terraform.io/providers/hashicorp/helm/2.5.1/docs/resources/release) | resource | +| [helm_release.cert_mounter](https://registry.terraform.io/providers/hashicorp/helm/2.12.0/docs/resources/release) | resource | +| [helm_release.reloader](https://registry.terraform.io/providers/hashicorp/helm/2.12.0/docs/resources/release) | resource | | [kubernetes_namespace.namespace](https://registry.terraform.io/providers/hashicorp/kubernetes/2.11.0/docs/resources/namespace) | resource | | [kubernetes_namespace.namespace_system](https://registry.terraform.io/providers/hashicorp/kubernetes/2.11.0/docs/resources/namespace) | resource | | [kubernetes_pod_disruption_budget_v1.afm](https://registry.terraform.io/providers/hashicorp/kubernetes/2.11.0/docs/resources/pod_disruption_budget_v1) | resource | @@ -109,4 +110,4 @@ ## Outputs No outputs. - + diff --git a/src/domains/afm-app/env/weu-dev/terraform.tfvars b/src/domains/afm-app/env/weu-dev/terraform.tfvars index 98e62f25fb..32eb4aabee 100644 --- a/src/domains/afm-app/env/weu-dev/terraform.tfvars +++ b/src/domains/afm-app/env/weu-dev/terraform.tfvars @@ -28,7 +28,7 @@ apim_dns_zone_prefix = "dev.platform" # chart releases: https://github.com/pagopa/aks-microservice-chart-blueprint/releases # image tags: https://github.com/pagopa/infra-ssl-check/releases tls_cert_check_helm = { - chart_version = "1.21.0" + chart_version = "2.0.0" image_name = "ghcr.io/pagopa/infra-ssl-check" - image_tag = "v1.2.2@sha256:22f4b53177cc8891bf10cbd0deb39f60e1cd12877021c3048a01e7738f63e0f9" + image_tag = "v1.3.4@sha256:c3d45736706c981493b6216451fc65e99a69d5d64409ccb1c4ca93fef57c921d" } diff --git a/src/domains/afm-app/env/weu-prod/terraform.tfvars b/src/domains/afm-app/env/weu-prod/terraform.tfvars index 47e2e320e8..1251164890 100644 --- a/src/domains/afm-app/env/weu-prod/terraform.tfvars +++ b/src/domains/afm-app/env/weu-prod/terraform.tfvars @@ -28,9 +28,9 @@ apim_dns_zone_prefix = "platform" # chart releases: https://github.com/pagopa/aks-microservice-chart-blueprint/releases # image tags: https://github.com/pagopa/infra-ssl-check/releases tls_cert_check_helm = { - chart_version = "1.21.0" + chart_version = "2.0.0" image_name = "ghcr.io/pagopa/infra-ssl-check" - image_tag = "v1.2.2@sha256:22f4b53177cc8891bf10cbd0deb39f60e1cd12877021c3048a01e7738f63e0f9" + image_tag = "v1.3.4@sha256:c3d45736706c981493b6216451fc65e99a69d5d64409ccb1c4ca93fef57c921d" } pod_disruption_budgets = { diff --git a/src/domains/afm-app/env/weu-uat/terraform.tfvars b/src/domains/afm-app/env/weu-uat/terraform.tfvars index a550831ca7..a7aaef188c 100644 --- a/src/domains/afm-app/env/weu-uat/terraform.tfvars +++ b/src/domains/afm-app/env/weu-uat/terraform.tfvars @@ -28,7 +28,7 @@ apim_dns_zone_prefix = "uat.platform" # chart releases: https://github.com/pagopa/aks-microservice-chart-blueprint/releases # image tags: https://github.com/pagopa/infra-ssl-check/releases tls_cert_check_helm = { - chart_version = "1.21.0" + chart_version = "2.0.0" image_name = "ghcr.io/pagopa/infra-ssl-check" - image_tag = "v1.2.2@sha256:22f4b53177cc8891bf10cbd0deb39f60e1cd12877021c3048a01e7738f63e0f9" + image_tag = "v1.3.4@sha256:c3d45736706c981493b6216451fc65e99a69d5d64409ccb1c4ca93fef57c921d" }