From 4a521795066b1252b4a549362aae2bd662efa512 Mon Sep 17 00:00:00 2001 From: Sean Rankine Date: Fri, 24 Jan 2025 10:42:34 +0000 Subject: [PATCH] Bump required terraform version to 1.10 Set the minimum terraform version, allowing us to update other dependencies. --- terraform/deployments/cdn-analytics/main.tf | 2 +- terraform/deployments/chat/main.tf | 2 +- terraform/deployments/cloudfront/main.tf | 2 +- terraform/deployments/cluster-infrastructure/main.tf | 2 +- terraform/deployments/cluster-services/main.tf | 2 +- terraform/deployments/csp-reporter/main.tf | 2 +- terraform/deployments/datagovuk-infrastructure/main.tf | 2 +- terraform/deployments/ecr/main.tf | 2 +- terraform/deployments/ga4-analytics/main.tf | 2 +- terraform/deployments/gcp-search-api-v2/main.tf | 2 +- .../deployments/gcp-search-api-v2/modules/search-api-v2/main.tf | 2 +- terraform/deployments/github/main.tf | 2 +- terraform/deployments/govuk-publishing-infrastructure/main.tf | 2 +- terraform/deployments/mobile-backend/main.tf | 2 +- terraform/deployments/opensearch/main.tf | 2 +- terraform/deployments/search-api-v2/main.tf | 2 +- .../modules/google_discovery_engine_restapi/main.tf | 2 +- terraform/deployments/sentry/provider.tf | 2 +- terraform/deployments/tfc-aws-config/provider.tf | 2 +- terraform/deployments/tfc-bootstrap/provider.tf | 2 +- terraform/deployments/tfc-configuration/provider.tf | 2 +- terraform/deployments/vpc/main.tf | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/terraform/deployments/cdn-analytics/main.tf b/terraform/deployments/cdn-analytics/main.tf index ffcc96f0a..29105f587 100644 --- a/terraform/deployments/cdn-analytics/main.tf +++ b/terraform/deployments/cdn-analytics/main.tf @@ -5,7 +5,7 @@ terraform { tags = ["cdn-analytics", "gcp"] } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/chat/main.tf b/terraform/deployments/chat/main.tf index db639c67e..783c82602 100644 --- a/terraform/deployments/chat/main.tf +++ b/terraform/deployments/chat/main.tf @@ -5,7 +5,7 @@ terraform { tags = ["opensearch", "eks", "aws"] } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/cloudfront/main.tf b/terraform/deployments/cloudfront/main.tf index dbcf50605..3023ec19c 100644 --- a/terraform/deployments/cloudfront/main.tf +++ b/terraform/deployments/cloudfront/main.tf @@ -5,7 +5,7 @@ terraform { tags = ["cloudfront", "eks", "aws"] } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/cluster-infrastructure/main.tf b/terraform/deployments/cluster-infrastructure/main.tf index 1b67fc85b..33f0756e3 100644 --- a/terraform/deployments/cluster-infrastructure/main.tf +++ b/terraform/deployments/cluster-infrastructure/main.tf @@ -13,7 +13,7 @@ terraform { tags = ["cluster-infrastructure", "eks", "aws"] } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/cluster-services/main.tf b/terraform/deployments/cluster-services/main.tf index 419b5262e..6ae3491e0 100644 --- a/terraform/deployments/cluster-services/main.tf +++ b/terraform/deployments/cluster-services/main.tf @@ -14,7 +14,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { kubernetes = { source = "hashicorp/kubernetes" diff --git a/terraform/deployments/csp-reporter/main.tf b/terraform/deployments/csp-reporter/main.tf index 8822757f7..75d2a85eb 100644 --- a/terraform/deployments/csp-reporter/main.tf +++ b/terraform/deployments/csp-reporter/main.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/datagovuk-infrastructure/main.tf b/terraform/deployments/datagovuk-infrastructure/main.tf index bec1d2ade..0e57a5c5d 100644 --- a/terraform/deployments/datagovuk-infrastructure/main.tf +++ b/terraform/deployments/datagovuk-infrastructure/main.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { kubernetes = { source = "hashicorp/kubernetes" diff --git a/terraform/deployments/ecr/main.tf b/terraform/deployments/ecr/main.tf index 9d68396bd..1a3ddb356 100644 --- a/terraform/deployments/ecr/main.tf +++ b/terraform/deployments/ecr/main.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/ga4-analytics/main.tf b/terraform/deployments/ga4-analytics/main.tf index dc15291ed..d1edbff60 100644 --- a/terraform/deployments/ga4-analytics/main.tf +++ b/terraform/deployments/ga4-analytics/main.tf @@ -5,7 +5,7 @@ terraform { tags = ["ga4-analytics", "gcp", "production"] } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { google = { source = "hashicorp/google" diff --git a/terraform/deployments/gcp-search-api-v2/main.tf b/terraform/deployments/gcp-search-api-v2/main.tf index 6ce5d06b5..bf524cad1 100644 --- a/terraform/deployments/gcp-search-api-v2/main.tf +++ b/terraform/deployments/gcp-search-api-v2/main.tf @@ -18,7 +18,7 @@ terraform { } } - required_version = "~> 1.7" + required_version = "~> 1.10" } module "environment_integration" { diff --git a/terraform/deployments/gcp-search-api-v2/modules/search-api-v2/main.tf b/terraform/deployments/gcp-search-api-v2/modules/search-api-v2/main.tf index 66200fb5f..f77af1be8 100644 --- a/terraform/deployments/gcp-search-api-v2/modules/search-api-v2/main.tf +++ b/terraform/deployments/gcp-search-api-v2/modules/search-api-v2/main.tf @@ -15,7 +15,7 @@ terraform { } } - required_version = "~> 1.7" + required_version = "~> 1.10" } locals { diff --git a/terraform/deployments/github/main.tf b/terraform/deployments/github/main.tf index de8fd5efa..9cbe5ea1f 100644 --- a/terraform/deployments/github/main.tf +++ b/terraform/deployments/github/main.tf @@ -4,7 +4,7 @@ terraform { workspaces { name = "GitHub" } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/govuk-publishing-infrastructure/main.tf b/terraform/deployments/govuk-publishing-infrastructure/main.tf index a47e1b1b1..111087aed 100644 --- a/terraform/deployments/govuk-publishing-infrastructure/main.tf +++ b/terraform/deployments/govuk-publishing-infrastructure/main.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/mobile-backend/main.tf b/terraform/deployments/mobile-backend/main.tf index b5b170f34..f5243b86e 100644 --- a/terraform/deployments/mobile-backend/main.tf +++ b/terraform/deployments/mobile-backend/main.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.8" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/opensearch/main.tf b/terraform/deployments/opensearch/main.tf index 17da8dfd1..9da564ff3 100644 --- a/terraform/deployments/opensearch/main.tf +++ b/terraform/deployments/opensearch/main.tf @@ -5,7 +5,7 @@ terraform { tags = ["opensearch", "eks", "aws"] } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws" diff --git a/terraform/deployments/search-api-v2/main.tf b/terraform/deployments/search-api-v2/main.tf index d1c5c9f9b..ae58c8182 100644 --- a/terraform/deployments/search-api-v2/main.tf +++ b/terraform/deployments/search-api-v2/main.tf @@ -28,7 +28,7 @@ terraform { } } - required_version = "~> 1.7" + required_version = "~> 1.10" } provider "google" { diff --git a/terraform/deployments/search-api-v2/modules/google_discovery_engine_restapi/main.tf b/terraform/deployments/search-api-v2/modules/google_discovery_engine_restapi/main.tf index 1ae01c177..b0a6c56de 100644 --- a/terraform/deployments/search-api-v2/modules/google_discovery_engine_restapi/main.tf +++ b/terraform/deployments/search-api-v2/modules/google_discovery_engine_restapi/main.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.7" + required_version = "~> 1.10" } locals { diff --git a/terraform/deployments/sentry/provider.tf b/terraform/deployments/sentry/provider.tf index abf4e21de..355985121 100644 --- a/terraform/deployments/sentry/provider.tf +++ b/terraform/deployments/sentry/provider.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { sentry = { diff --git a/terraform/deployments/tfc-aws-config/provider.tf b/terraform/deployments/tfc-aws-config/provider.tf index f2bfb52fc..738c8144a 100644 --- a/terraform/deployments/tfc-aws-config/provider.tf +++ b/terraform/deployments/tfc-aws-config/provider.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { diff --git a/terraform/deployments/tfc-bootstrap/provider.tf b/terraform/deployments/tfc-bootstrap/provider.tf index 7a3cd2297..3db5e290a 100644 --- a/terraform/deployments/tfc-bootstrap/provider.tf +++ b/terraform/deployments/tfc-bootstrap/provider.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { tfe = { diff --git a/terraform/deployments/tfc-configuration/provider.tf b/terraform/deployments/tfc-configuration/provider.tf index 625293bf5..7bd0e7b77 100644 --- a/terraform/deployments/tfc-configuration/provider.tf +++ b/terraform/deployments/tfc-configuration/provider.tf @@ -6,7 +6,7 @@ terraform { } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { tfe = { diff --git a/terraform/deployments/vpc/main.tf b/terraform/deployments/vpc/main.tf index 679f2497e..f4acf7dfa 100644 --- a/terraform/deployments/vpc/main.tf +++ b/terraform/deployments/vpc/main.tf @@ -5,7 +5,7 @@ terraform { tags = ["vpc", "eks", "aws"] } } - required_version = "~> 1.5" + required_version = "~> 1.10" required_providers { aws = { source = "hashicorp/aws"