From cdb1657e6bb80901f7c7764a7a79e00c3f778b4a Mon Sep 17 00:00:00 2001 From: zied-elouaer Date: Fri, 19 Jul 2024 15:49:59 +0200 Subject: [PATCH 1/2] feat: use updated subscriptions module --- 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-disabled/_generated_google.tf | 2 +- test/unit-minimal/_generated_google.tf | 2 +- versions.tf | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e4962cf..7e9df90 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Most common usage of the module: ```hcl module "terraform-google-pubsub-topic" { - source = "github.com/mineiros-io/terraform-google-pubsub-topic?ref=v0.1.2" + source = "github.com/mineiros-io/terraform-google-pubsub-topic?ref=v1.2.0" name = "pub-sub-topic-name" project = "id-of-project" diff --git a/README.tfdoc.hcl b/README.tfdoc.hcl index ad7fa81..de20d48 100644 --- a/README.tfdoc.hcl +++ b/README.tfdoc.hcl @@ -71,7 +71,7 @@ section { ```hcl module "terraform-google-pubsub-topic" { - source = "github.com/mineiros-io/terraform-google-pubsub-topic?ref=v0.1.2" + source = "github.com/mineiros-io/terraform-google-pubsub-topic?ref=v1.2.0" name = "pub-sub-topic-name" project = "id-of-project" diff --git a/subscriptions.tf b/subscriptions.tf index 3143c5c..6ccca1b 100644 --- a/subscriptions.tf +++ b/subscriptions.tf @@ -4,7 +4,7 @@ locals { } module "subscription" { - source = "github.com/mineiros-io/terraform-google-pubsub-subscription?ref=v1.0.0" + source = "github.com/mineiros-io/terraform-google-pubsub-subscription?ref=v1.1.0" for_each = local.subscriptions_map_selector[var.module_enabled ? 0 : 1] diff --git a/test/terramate_google.tm.hcl b/test/terramate_google.tm.hcl index 9174854..0c7ae52 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 = "5" + minimum_provider_version = "5.35.0" 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 1d44d13..f57e892 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 = "~> 5" + version = "~> 5.35.0" } random = { source = "hashicorp/random" diff --git a/test/unit-disabled/_generated_google.tf b/test/unit-disabled/_generated_google.tf index 5c8b1d6..859ee22 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 = "~> 5" + version = "~> 5.35.0" } random = { source = "hashicorp/random" diff --git a/test/unit-minimal/_generated_google.tf b/test/unit-minimal/_generated_google.tf index 8a2dd5a..f0a98c8 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 = "5" + version = "5.35.0" } random = { source = "hashicorp/random" diff --git a/versions.tf b/versions.tf index bc054bc..d9fed91 100644 --- a/versions.tf +++ b/versions.tf @@ -8,7 +8,7 @@ terraform { required_providers { google = { source = "hashicorp/google" - version = ">= 5, <6" + version = ">= 5.35.0, <6" } } } From d716a65555eaad54a6ed3e24d68ad65293d0c3d1 Mon Sep 17 00:00:00 2001 From: zied-elouaer Date: Thu, 25 Jul 2024 11:18:54 +0200 Subject: [PATCH 2/2] chore: update changelog --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b3fc57b..9604cc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.0] + +### Added + +- Use terraform-google-pubsub-subscription module v1.1.0 + +## [1.1.0] + +### Added + +- Add support for cloud_storage_config in subscriptions + +## [1.0.1] + +### Fixed + +- Ternary logic in subscriptions breaks some edge cases + +## [0.2.1] + +### Fixed + +- Ternary logic in subscriptions breaks some edge cases + +## [1.0.0] + +### Breaking changes + +- Drop support for Google provider v4 + +## [0.2.0] + +### Added + +- Add support for Google provider v5 + ## [0.1.2] ### Fixed