From 6e9597f1397648947f3ef9f02d1beedb62667665 Mon Sep 17 00:00:00 2001 From: RMcVelia <94844345+RMcVelia@users.noreply.github.com> Date: Thu, 6 Jun 2024 09:43:58 +0100 Subject: [PATCH] Update azurerm provider (#425) * Update terraform providers * Update github actions in deploy workflow --- .github/actions/deploy/action.yml | 4 ++-- terraform/aks/terraform.tf | 6 +++--- terraform/custom_domains/environment_domains/terraform.tf | 2 +- terraform/custom_domains/infrastructure/terraform.tf | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/deploy/action.yml b/.github/actions/deploy/action.yml index 2190f1a1..3c57cf94 100644 --- a/.github/actions/deploy/action.yml +++ b/.github/actions/deploy/action.yml @@ -57,11 +57,11 @@ runs: fi - name: Use Terraform ${{ env.TERRAFORM_VERSION }} - uses: hashicorp/setup-terraform@v2 + uses: hashicorp/setup-terraform@v3 with: terraform_version: ${{ env.TERRAFORM_VERSION }} - - uses: azure/login@v1 + - uses: azure/login@v2 with: creds: ${{ inputs.azure-credentials }} diff --git a/terraform/aks/terraform.tf b/terraform/aks/terraform.tf index e31f9259..3eaecaa8 100644 --- a/terraform/aks/terraform.tf +++ b/terraform/aks/terraform.tf @@ -3,15 +3,15 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "3.57.0" + version = "3.104.2" } kubernetes = { source = "hashicorp/kubernetes" - version = "2.20.0" + version = "2.30.0" } statuscake = { source = "StatusCakeDev/statuscake" - version = "2.1.0" + version = "2.2.0" } } backend "azurerm" { diff --git a/terraform/custom_domains/environment_domains/terraform.tf b/terraform/custom_domains/environment_domains/terraform.tf index ca8f5e29..8126f919 100644 --- a/terraform/custom_domains/environment_domains/terraform.tf +++ b/terraform/custom_domains/environment_domains/terraform.tf @@ -4,7 +4,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "3.43.0" + version = "3.104.2" } } backend "azurerm" { diff --git a/terraform/custom_domains/infrastructure/terraform.tf b/terraform/custom_domains/infrastructure/terraform.tf index e1481fe1..d70af0c3 100644 --- a/terraform/custom_domains/infrastructure/terraform.tf +++ b/terraform/custom_domains/infrastructure/terraform.tf @@ -4,7 +4,7 @@ terraform { required_providers { azurerm = { source = "hashicorp/azurerm" - version = "3.43.0" + version = "3.104.2" } } backend "azurerm" {