diff --git a/src/domains/paymentoptions-app/.terraform.lock.hcl b/src/domains/paymentoptions-app/.terraform.lock.hcl
index 97cef8e563..3e8f565f69 100644
--- a/src/domains/paymentoptions-app/.terraform.lock.hcl
+++ b/src/domains/paymentoptions-app/.terraform.lock.hcl
@@ -5,7 +5,11 @@ provider "registry.terraform.io/hashicorp/azuread" {
version = "2.47.0"
constraints = "<= 2.47.0"
hashes = [
+ "h1:8J74v92UvtqVNucugAtB+Sd44oTgnhfct+Xf8ObOZug=",
+ "h1:KB9BNRNStbdsfdRmVXUwXtN77qgX5VjBy2UALcqp218=",
+ "h1:g8+gBFM4QVOEQFqAEs5pR6iXpbGvgPvcEi1evHwziyw=",
"h1:iRwDQBdXBpVBoYwM9au2RG01RQuJSm3TGQ2kioFVAas=",
+ "h1:zYMGokLn44KSWir7Nr4t8lEAPMB6JuXd2LlP2Ac2tMY=",
"zh:1372d81eb24ef3b4b00ea350fe87219f22da51691b8e42ce91d662f6c2a8af5e",
"zh:1c3e89cf19118fc07d7b04257251fc9897e722c16e0a0df7b07fcd261f8c12e7",
"zh:1e654a74d171d6ff8f9f6f67e3ff1421d4c5e56a18607703626bf12cd23ba001",
@@ -23,9 +27,13 @@ provider "registry.terraform.io/hashicorp/azuread" {
provider "registry.terraform.io/hashicorp/azurerm" {
version = "3.97.1"
- constraints = ">= 3.30.0, ~> 3.30, <= 3.97.1, <= 3.106.0"
+ constraints = "~> 3.30, <= 3.116.0"
hashes = [
"h1:LtwGbd4HEb5QCXmdxSvTjPSh8/Gp8eAQMYfiAKaubV4=",
+ "h1:b8yfRYs+CepOlnx1JeQVMTX3N6HHfS85iOXE8hn8yok=",
+ "h1:klBuN2uVZF7AVMhskbbgF8pygyhPBxsjedB1GUV79PA=",
+ "h1:m5wyoRGjbVfJU2YaGZrN1lfGgjpyuwi7Ykw1uHdwlAg=",
+ "h1:vwYchGsh1TY+/GjUv6CUS6It2opnMYYYVt4GBvCmesY=",
"zh:15171efcc3aa3a37748c502c493cb16ecff603b81ada4499a843574976bac524",
"zh:2ca6c13a4a96f67763ecced0015c7b101ee02d54ea54b28a8df4ae06468071b1",
"zh:2e3c77dbfd8f760132ecef2d6117e939cbea26b96aba5e4d926e7f7f0f7afe72",
@@ -46,6 +54,10 @@ provider "registry.terraform.io/hashicorp/helm" {
constraints = "~> 2.12, <= 2.12.1"
hashes = [
"h1:7wfYOAeSEchHB8idNl+2jf+OkFi9zFSOLWkEZFuTCik=",
+ "h1:aBfcqM4cbywa7TAxfT1YoFS+Cst9waerlm4XErFmJlk=",
+ "h1:sgYI7lwGqJqPopY3NGmhb1eQ0YbH8PIXaAZAmnJrAvw=",
+ "h1:sjzfyNQAjtF9zXHxB67geryjGkHaPDMMVw9iqPP5pkE=",
+ "h1:xwHVa6ab/XVfDrZ3h35OzLJ6g0Zte4VAvSnyKw3f9AI=",
"zh:1d623fb1662703f2feb7860e3c795d849c77640eecbc5a776784d08807b15004",
"zh:253a5bc62ba2c4314875139e3fbd2feaad5ef6b0fb420302a474ab49e8e51a38",
"zh:282358f4ad4f20d0ccaab670b8645228bfad1c03ac0d0df5889f0aea8aeac01a",
@@ -65,7 +77,11 @@ provider "registry.terraform.io/hashicorp/kubernetes" {
version = "2.29.0"
constraints = "~> 2.27, <= 2.29.0"
hashes = [
+ "h1:+YCSx70JPlL2PX+yO53gzy1v0Bj61QMhq0N8U0DjK6c=",
+ "h1:7C1MinWhowW8EnlSYhhAFV3bte8x5YcSF5QxUPdoXDk=",
"h1:Igs0JTtmzn5q7RHqrvrTMCD/DCSLPMinvUnhYZ2oITw=",
+ "h1:oUDANZ62j22EWXtXUDAJe4HFq6BZhrYa4VLk49u7Om0=",
+ "h1:uM3M6zkZ7Tjr91SJaHz+ce+rmGtfUDih2fN3ogV+eYA=",
"zh:3edd5dc319b95fe94e61b82d10c1ce7fb53a2f21b067ddb742f2d7d0d19dd113",
"zh:4b9096e6d0cfa0efd4c89270e3d25fea49db570e2cfbe49c5d1de085a15f2578",
"zh:5397573838bcb8844248c8d6ac93cca7f39a0b707ac3ce7a7b306c50c261c195",
@@ -85,7 +101,11 @@ provider "registry.terraform.io/hashicorp/null" {
version = "3.2.1"
constraints = "~> 3.2, <= 3.2.1"
hashes = [
+ "h1:FbGfc+muBsC17Ohy5g806iuI1hQc4SIexpYCrQHQd8w=",
"h1:tSj1mL6OQ8ILGqR2mDu7OYYYWf+hoir0pf9KAQ8IzO8=",
+ "h1:vUW21lLLsKlxtBf0QF7LKJreKxs0CM7YXGzqW1N/ODY=",
+ "h1:wqgRvlyVIbkCeCQs+5jj6zVuQL0KDxZZtNofGqqlSdI=",
+ "h1:ydA0/SNRVB1o95btfshvYsmxA+jZFRZcvKzZSB+4S1M=",
"zh:58ed64389620cc7b82f01332e27723856422820cfd302e304b5f6c3436fb9840",
"zh:62a5cc82c3b2ddef7ef3a6f2fedb7b9b3deff4ab7b414938b08e51d6e8be87cb",
"zh:63cff4de03af983175a7e37e52d4bd89d990be256b16b5c7f919aff5ad485aa5",
diff --git a/src/domains/paymentoptions-app/02_namespace.tf b/src/domains/paymentoptions-app/02_namespace.tf
index a62b8cc66c..73e2653de5 100644
--- a/src/domains/paymentoptions-app/02_namespace.tf
+++ b/src/domains/paymentoptions-app/02_namespace.tf
@@ -5,7 +5,7 @@ resource "kubernetes_namespace" "namespace" {
}
module "pod_identity" {
- source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_pod_identity?ref=v8.18.0"
+ source = "./.terraform/modules/__v3__/kubernetes_pod_identity"
resource_group_name = local.aks_resource_group_name
location = var.location
diff --git a/src/domains/paymentoptions-app/03_serviceaccounts_azure_devops.tf b/src/domains/paymentoptions-app/03_serviceaccounts_azure_devops.tf
index f24964a97d..cfdc7c2574 100644
--- a/src/domains/paymentoptions-app/03_serviceaccounts_azure_devops.tf
+++ b/src/domains/paymentoptions-app/03_serviceaccounts_azure_devops.tf
@@ -5,7 +5,7 @@ resource "kubernetes_namespace" "namespace_system" {
}
module "kubernetes_service_account" {
- source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_service_account?ref=v8.18.0"
+ source = "./.terraform/modules/__v3__/kubernetes_service_account"
name = "azure-devops"
namespace = "${var.domain}-system"
}
diff --git a/src/domains/paymentoptions-app/04_apim_payment_options.tf b/src/domains/paymentoptions-app/04_apim_payment_options.tf
index 813fdf05fe..3e7f22da2e 100644
--- a/src/domains/paymentoptions-app/04_apim_payment_options.tf
+++ b/src/domains/paymentoptions-app/04_apim_payment_options.tf
@@ -6,7 +6,7 @@ locals {
}
module "apim_payment_options_product" {
- source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product?ref=v8.18.0"
+ source = "./.terraform/modules/__v3__/api_management_product"
count = var.is_feature_enabled.paymentoptions ? 1 : 0
product_id = "pagopa_payment_options"
diff --git a/src/domains/paymentoptions-app/04_apim_payment_options_mock.tf b/src/domains/paymentoptions-app/04_apim_payment_options_mock.tf
index 329281da0f..e142259ae6 100644
--- a/src/domains/paymentoptions-app/04_apim_payment_options_mock.tf
+++ b/src/domains/paymentoptions-app/04_apim_payment_options_mock.tf
@@ -6,7 +6,7 @@ locals {
}
module "apim_payment_options_mock_product" {
- source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product?ref=v8.18.0"
+ source = "./.terraform/modules/__v3__/api_management_product"
count = var.is_feature_enabled.paymentoptions_mock ? 1 : 0
product_id = "pagopa-payment-options-mock"
@@ -36,7 +36,7 @@ resource "azurerm_api_management_api_version_set" "payment_options_mock_api" {
module "apim_api_pay_opt_mock_api" {
- source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api?ref=v8.18.0"
+ source = "./.terraform/modules/__v3__/api_management_api"
count = var.is_feature_enabled.paymentoptions_mock ? 1 : 0
name = format("%s-pay-opt-mock-api", local.project)
diff --git a/src/domains/paymentoptions-app/05_aks_middleware_tools.tf b/src/domains/paymentoptions-app/05_aks_middleware_tools.tf
index 83a33add1e..83624cc77e 100644
--- a/src/domains/paymentoptions-app/05_aks_middleware_tools.tf
+++ b/src/domains/paymentoptions-app/05_aks_middleware_tools.tf
@@ -1,5 +1,5 @@
module "tls_checker" {
- source = "git::https://github.com/pagopa/terraform-azurerm-v3.git//tls_checker?ref=v8.22.0"
+ source = "./.terraform/modules/__v3__/tls_checker"
https_endpoint = local.domain_hostname
alert_name = local.domain_hostname
diff --git a/src/domains/paymentoptions-app/99_main.tf b/src/domains/paymentoptions-app/99_main.tf
index 8bf0b91ba8..3e6238a771 100644
--- a/src/domains/paymentoptions-app/99_main.tf
+++ b/src/domains/paymentoptions-app/99_main.tf
@@ -3,7 +3,7 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
- version = "<= 3.106.0"
+ version = "<= 3.116.0"
}
azuread = {
source = "hashicorp/azuread"
@@ -47,3 +47,8 @@ provider "helm" {
config_path = "${var.k8s_kube_config_path_prefix}/config-${local.aks_name}"
}
}
+
+module "__v3__" {
+ # v8.59.0
+ source = "git::https://github.com/pagopa/terraform-azurerm-v3?ref=3fc1dafaf4354e24ca8673005ec0caf4106343a3"
+}
diff --git a/src/domains/paymentoptions-app/README.md b/src/domains/paymentoptions-app/README.md
index ad31e0eb1a..9001d59ffe 100644
--- a/src/domains/paymentoptions-app/README.md
+++ b/src/domains/paymentoptions-app/README.md
@@ -1,13 +1,13 @@
# paymentoptions-app
-
+
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.6.0 |
| [azuread](#requirement\_azuread) | <= 2.47.0 |
-| [azurerm](#requirement\_azurerm) | <= 3.106.0 |
+| [azurerm](#requirement\_azurerm) | <= 3.116.0 |
| [helm](#requirement\_helm) | <= 2.12.1 |
| [kubernetes](#requirement\_kubernetes) | <= 2.29.0 |
| [null](#requirement\_null) | <= 3.2.1 |
@@ -16,12 +16,13 @@
| Name | Source | Version |
|------|--------|---------|
-| [apim\_api\_pay\_opt\_mock\_api](#module\_apim\_api\_pay\_opt\_mock\_api) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_api | v8.18.0 |
-| [apim\_payment\_options\_mock\_product](#module\_apim\_payment\_options\_mock\_product) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product | v8.18.0 |
-| [apim\_payment\_options\_product](#module\_apim\_payment\_options\_product) | git::https://github.com/pagopa/terraform-azurerm-v3.git//api_management_product | v8.18.0 |
-| [kubernetes\_service\_account](#module\_kubernetes\_service\_account) | git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_service_account | v8.18.0 |
-| [pod\_identity](#module\_pod\_identity) | git::https://github.com/pagopa/terraform-azurerm-v3.git//kubernetes_pod_identity | v8.18.0 |
-| [tls\_checker](#module\_tls\_checker) | git::https://github.com/pagopa/terraform-azurerm-v3.git//tls_checker | v8.22.0 |
+| [\_\_v3\_\_](#module\_\_\_v3\_\_) | git::https://github.com/pagopa/terraform-azurerm-v3 | 3fc1dafaf4354e24ca8673005ec0caf4106343a3 |
+| [apim\_api\_pay\_opt\_mock\_api](#module\_apim\_api\_pay\_opt\_mock\_api) | ./.terraform/modules/__v3__/api_management_api | n/a |
+| [apim\_payment\_options\_mock\_product](#module\_apim\_payment\_options\_mock\_product) | ./.terraform/modules/__v3__/api_management_product | n/a |
+| [apim\_payment\_options\_product](#module\_apim\_payment\_options\_product) | ./.terraform/modules/__v3__/api_management_product | n/a |
+| [kubernetes\_service\_account](#module\_kubernetes\_service\_account) | ./.terraform/modules/__v3__/kubernetes_service_account | 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
@@ -103,4 +104,4 @@
## Outputs
No outputs.
-
+