From 0fb7cb3ed0b123d6632b3edf8cf0c5e63069b096 Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Fri, 24 Jan 2025 10:38:11 +0000 Subject: [PATCH] Bump used terraform version to 1.10.5 This configure TFC and local terraform version to use 1.10.5. After this we can then bump the minimun required version. --- terraform/.terraform-version | 2 +- .../deployments/tfc-configuration/modules/search-api-v2/main.tf | 2 +- terraform/deployments/tfc-configuration/variables.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform/.terraform-version b/terraform/.terraform-version index a7ee35a3e..db77e0ee9 100644 --- a/terraform/.terraform-version +++ b/terraform/.terraform-version @@ -1 +1 @@ -1.8.3 +1.10.5 diff --git a/terraform/deployments/tfc-configuration/modules/search-api-v2/main.tf b/terraform/deployments/tfc-configuration/modules/search-api-v2/main.tf index a15c14003..3db54c1c8 100644 --- a/terraform/deployments/tfc-configuration/modules/search-api-v2/main.tf +++ b/terraform/deployments/tfc-configuration/modules/search-api-v2/main.tf @@ -17,7 +17,7 @@ resource "tfe_workspace" "environment_workspace" { source_url = "https://github.com/alphagov/search-v2-infrastructure/tree/main/terraform/meta" working_directory = "terraform/deployments/search-api-v2" - terraform_version = "~> 1.10.0" + terraform_version = "~> 1.10.5" # Only auto apply if there is no workspace defined that we need to wait for (in which case a # trigger will determine when to apply this workspace) diff --git a/terraform/deployments/tfc-configuration/variables.tf b/terraform/deployments/tfc-configuration/variables.tf index 8dd54b1cb..0d0a1ef4e 100644 --- a/terraform/deployments/tfc-configuration/variables.tf +++ b/terraform/deployments/tfc-configuration/variables.tf @@ -70,7 +70,7 @@ variable "workspace_tags" { variable "terraform_version" { type = string description = "Version constraint for Terraform for this workspace." - default = "~> 1.8.0" + default = "~> 1.10.5" } variable "trigger_patterns" {