From b31d76f3755dfd027ba2e09126f940055a1ed613 Mon Sep 17 00:00:00 2001 From: Esanim <17294241+Esanim@users.noreply.github.com> Date: Thu, 7 Mar 2024 18:36:47 +0100 Subject: [PATCH] feat!: update min google provider to v5 BREAKING CHANGE: drops support to google provider v5 --- README.md | 2 +- README.tfdoc.hcl | 2 +- subscriptions.tf | 2 +- test/terramate_google.tm.hcl | 2 +- test/unit-complete/_generated_google.tf | 2 +- test/unit-complete/main.tf | 2 +- test/unit-disabled/_generated_google.tf | 2 +- test/unit-minimal/_generated_google.tf | 2 +- versions.tf | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 81b0e7c..2cb59ea 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ A [Terraform](https://www.terraform.io) module for creating and managing a [Google Cloud](https://cloud.google.com/) **_This module supports Terraform version 1 -and is compatible with the Terraform Google Provider version 4._** and 5_** +and is compatible with the Terraform Google Provider version 5_** This module is part of our Infrastructure as Code (IaC) framework that enables our users and customers to easily deploy and manage reusable, diff --git a/README.tfdoc.hcl b/README.tfdoc.hcl index 2752abe..e73e708 100644 --- a/README.tfdoc.hcl +++ b/README.tfdoc.hcl @@ -42,7 +42,7 @@ section { [Google Cloud](https://cloud.google.com/) **_This module supports Terraform version 1 - and is compatible with the Terraform Google Provider version 4._** and 5_** + and is compatible with the Terraform Google Provider version 5_** This module is part of our Infrastructure as Code (IaC) framework that enables our users and customers to easily deploy and manage reusable, diff --git a/subscriptions.tf b/subscriptions.tf index d8faffe..23db1c7 100644 --- a/subscriptions.tf +++ b/subscriptions.tf @@ -3,7 +3,7 @@ locals { } module "subscription" { - source = "github.com/mineiros-io/terraform-google-pubsub-subscription?ref=v0.1.0" + source = "github.com/mineiros-io/terraform-google-pubsub-subscription?ref=v1.0.0" for_each = var.module_enabled ? local.subscriptions_map : tomap({}) diff --git a/test/terramate_google.tm.hcl b/test/terramate_google.tm.hcl index 9891abd..9174854 100644 --- a/test/terramate_google.tm.hcl +++ b/test/terramate_google.tm.hcl @@ -1,6 +1,6 @@ globals { # message_retention_duration is only supported since 4.1.0 - minimum_provider_version = "4.32" + minimum_provider_version = "5" provider_version_constraint = "~> ${global.minimum_provider_version}" stack_basename = tm_reverse(tm_split("/", terramate.path))[0] diff --git a/test/unit-complete/_generated_google.tf b/test/unit-complete/_generated_google.tf index a834968..1d44d13 100644 --- a/test/unit-complete/_generated_google.tf +++ b/test/unit-complete/_generated_google.tf @@ -23,7 +23,7 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = "~> 4.32" + version = "~> 5" } random = { source = "hashicorp/random" diff --git a/test/unit-complete/main.tf b/test/unit-complete/main.tf index b2e3b87..a7e7528 100644 --- a/test/unit-complete/main.tf +++ b/test/unit-complete/main.tf @@ -5,7 +5,7 @@ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ module "test-sa" { - source = "github.com/mineiros-io/terraform-google-service-account?ref=v0.0.10" + source = "github.com/mineiros-io/terraform-google-service-account?ref=v0.2.1" account_id = "service-account-id-${local.random_suffix}" } diff --git a/test/unit-disabled/_generated_google.tf b/test/unit-disabled/_generated_google.tf index 96c7a53..5c8b1d6 100644 --- a/test/unit-disabled/_generated_google.tf +++ b/test/unit-disabled/_generated_google.tf @@ -23,7 +23,7 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = "~> 4.32" + version = "~> 5" } random = { source = "hashicorp/random" diff --git a/test/unit-minimal/_generated_google.tf b/test/unit-minimal/_generated_google.tf index acb4c2a..8a2dd5a 100644 --- a/test/unit-minimal/_generated_google.tf +++ b/test/unit-minimal/_generated_google.tf @@ -23,7 +23,7 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = "4.32" + version = "5" } random = { source = "hashicorp/random" diff --git a/versions.tf b/versions.tf index e8cd95a..bc054bc 100644 --- a/versions.tf +++ b/versions.tf @@ -8,7 +8,7 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 4.32, <6" + version = ">= 5, <6" } } }