Skip to content

Commit

Permalink
Merge pull request #21 from mineiros-io/lukas/upgrade-google-provider-v5
Browse files Browse the repository at this point in the history
feat!: update min google provider to v5
  • Loading branch information
Esanim authored Mar 7, 2024
2 parents e6140af + b31d76f commit e5dc4b3
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion README.tfdoc.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion subscriptions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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({})

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 = "4.32"
minimum_provider_version = "5"
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 = "~> 4.32"
version = "~> 5"
}
random = {
source = "hashicorp/random"
Expand Down
2 changes: 1 addition & 1 deletion test/unit-complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}
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 = "~> 4.32"
version = "~> 5"
}
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 = "4.32"
version = "5"
}
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 = ">= 4.32, <6"
version = ">= 5, <6"
}
}
}

0 comments on commit e5dc4b3

Please sign in to comment.