Skip to content

Commit

Permalink
fix: upgraded versions.tf to include minor bumps from tpg v5 (#523)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Peabody <[email protected]>
  • Loading branch information
g-awmalik and apeabody authored Nov 2, 2023
1 parent 7fb7fd6 commit 5102a7b
Show file tree
Hide file tree
Showing 22 changed files with 23 additions and 286 deletions.
12 changes: 7 additions & 5 deletions build/int.cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,13 @@ steps:
- apply mysql-private-local
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'cft test run TestMySqlPrivateModule --stage verify --verbose']
- id: teardown mysql-private-local
waitFor:
- verify mysql-private-local
name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
args: ['/bin/bash', '-c', 'cft test run TestMySqlPrivateModule --stage teardown --verbose']

# Disabling due to issue: https://github.com/hashicorp/terraform-provider-google/issues/16275
# - id: teardown mysql-private-local
# waitFor:
# - verify mysql-private-local
# name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
# args: ['/bin/bash', '-c', 'cft test run TestMySqlPrivateModule --stage teardown --verbose']

- id: apply mysql-public-local
waitFor: ["init-all", "wait for api activation"]
Expand Down
25 changes: 0 additions & 25 deletions examples/mssql-public/versions.tf

This file was deleted.

20 changes: 0 additions & 20 deletions examples/mysql-backup-create-service-account/versions.tf

This file was deleted.

25 changes: 0 additions & 25 deletions examples/mysql-ha/versions.tf

This file was deleted.

4 changes: 2 additions & 2 deletions examples/mysql-private/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ locals {

module "network-safer-mysql-simple" {
source = "terraform-google-modules/network/google"
version = "~> 7.0"
version = "~> 7.5"

project_id = var.project_id
network_name = local.network_name
Expand Down Expand Up @@ -90,7 +90,7 @@ module "safer-mysql-db" {
},
{
id = "dbadmin",
email = "dbadmin@goosecorp.org"
email = "dbadmin@develop.blueprints.joonix.net"
}
]

Expand Down
25 changes: 0 additions & 25 deletions examples/mysql-private/versions.tf

This file was deleted.

25 changes: 0 additions & 25 deletions examples/mysql-psc/versions.tf

This file was deleted.

25 changes: 0 additions & 25 deletions examples/mysql-public/versions.tf

This file was deleted.

20 changes: 0 additions & 20 deletions examples/postgresql-backup-provided-service-account/versions.tf

This file was deleted.

25 changes: 0 additions & 25 deletions examples/postgresql-ha/versions.tf

This file was deleted.

25 changes: 0 additions & 25 deletions examples/postgresql-psc/versions.tf

This file was deleted.

2 changes: 1 addition & 1 deletion examples/postgresql-public-iam/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ module "postgresql-db" {
},
{
id = "dbadmin",
email = "dbadmin@goosecorp.org"
email = "dbadmin@develop.blueprints.joonix.net"
}
]
}
25 changes: 0 additions & 25 deletions examples/postgresql-public-iam/versions.tf

This file was deleted.

25 changes: 0 additions & 25 deletions examples/postgresql-public/versions.tf

This file was deleted.

2 changes: 1 addition & 1 deletion modules/backup/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.0.0, < 5.0"
version = ">= 4.0.0, < 6"
}
}
}
4 changes: 2 additions & 2 deletions modules/mssql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ terraform {

google = {
source = "hashicorp/google"
version = ">= 4.74.0, < 5.0"
version = ">= 4.74.0, < 6"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.74.0, < 5.0"
version = ">= 4.74.0, < 6"
}
random = {
source = "hashicorp/random"
Expand Down
4 changes: 2 additions & 2 deletions modules/mysql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ terraform {
}
google = {
source = "hashicorp/google"
version = ">= 4.80.0, < 5.0"
version = ">= 4.80.0, < 6"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.80.0, < 5.0"
version = ">= 4.80.0, < 6"
}
}

Expand Down
4 changes: 2 additions & 2 deletions modules/postgresql/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ terraform {
}
google = {
source = "hashicorp/google"
version = ">= 4.80.0, < 5.0"
version = ">= 4.80.0, < 6"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 4.80.0, < 5.0"
version = ">= 4.80.0, < 6"
}
}

Expand Down
4 changes: 2 additions & 2 deletions modules/private_service_access/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ terraform {
}
google = {
source = "hashicorp/google"
version = ">= 3.53, < 5.0"
version = ">= 3.53, < 6"
}
google-beta = {
source = "hashicorp/google-beta"
version = ">= 3.53, < 5.0"
version = ">= 3.53, < 6"
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/restore/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ terraform {
required_providers {
google = {
source = "hashicorp/google"
version = ">= 4.0.0, < 5.0"
version = ">= 4.0.0, < 6"
}
}
}
Loading

0 comments on commit 5102a7b

Please sign in to comment.