Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use updated subscriptions module #26

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.tfdoc.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion subscriptions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion test/terramate_google.tm.hcl
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion test/unit-complete/_generated_google.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 5"
version = "~> 5.35.0"
}
random = {
source = "hashicorp/random"
Expand Down
2 changes: 1 addition & 1 deletion test/unit-disabled/_generated_google.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "~> 5"
version = "~> 5.35.0"
}
random = {
source = "hashicorp/random"
Expand Down
2 changes: 1 addition & 1 deletion test/unit-minimal/_generated_google.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = "5"
version = "5.35.0"
}
random = {
source = "hashicorp/random"
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = ">= 5, <6"
version = ">= 5.35.0, <6"
}
}
}