Skip to content

Commit 255843d

Browse files
committed
upgrate providers and modules to version 4
1 parent fd4f47c commit 255843d

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/domains/diego-app/99_main.tf

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,27 @@ terraform {
22
required_providers {
33
azurerm = {
44
source = "hashicorp/azurerm"
5-
version = "~> 3.110"
5+
version = "~> 4"
66
}
77
azuread = {
88
source = "hashicorp/azuread"
9-
version = "<= 2.47.0"
9+
version = "~> 2.50"
1010
}
1111
null = {
1212
source = "hashicorp/null"
13-
version = "<= 3.2.1"
13+
version = "~> 3.2.1"
1414
}
1515
kubernetes = {
1616
source = "hashicorp/kubernetes"
1717
version = "~> 2.30.0"
1818
}
1919
helm = {
2020
source = "hashicorp/helm"
21-
version = "<= 2.12.1"
21+
version = "~> 2.12.1"
2222
}
2323
local = {
2424
source = "hashicorp/local"
25+
version = "~> 2.5"
2526
}
2627
argocd = {
2728
source = "argoproj-labs/argocd"
@@ -33,13 +34,22 @@ terraform {
3334
}
3435

3536
provider "azurerm" {
36-
features {}
37+
features {
38+
key_vault {
39+
purge_soft_delete_on_destroy = false
40+
}
41+
}
3742
}
3843

3944
data "azurerm_subscription" "current" {}
4045

4146
data "azurerm_client_config" "current" {}
4247

48+
module "__v4__" {
49+
# https://github.com/pagopa/terraform-azurerm-v4/releases/tag/v7.31.1
50+
source = "git::https://github.com/pagopa/terraform-azurerm-v4.git?ref=50a29c79787596e3d3abfcf896ae2c6c683b25b6"
51+
}
52+
4353
provider "kubernetes" {
4454
config_path = "${var.k8s_kube_config_path_prefix}/config-${local.aks_name}"
4555
}

0 commit comments

Comments
 (0)