Skip to content

Commit

Permalink
Merge pull request #26 from mineiros-io/zied/update-sub-module
Browse files Browse the repository at this point in the history
feat: use updated subscriptions module
  • Loading branch information
zied-elouaer authored Aug 14, 2024
2 parents e9a1a86 + d716a65 commit 79d15d7
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 8 deletions.
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"
}
}
}

0 comments on commit 79d15d7

Please sign in to comment.