Skip to content

Commit 6f2e3a0

Browse files
fix(deps)!: Update TF modules (major) (#241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Peabody <[email protected]>
1 parent 3360ef2 commit 6f2e3a0

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

examples/tf_cloudbuild_workspace_simple/files/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
module "test-vpc-module" {
1818
source = "terraform-google-modules/network/google"
19-
version = "~> 6.0"
19+
version = "~> 9.0"
2020
project_id = var.project_id
2121
network_name = "my-custom-mode-network"
2222
mtu = 1460

modules/tf_cloudbuild_builder/cb.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resource "google_project_iam_member" "logs_writer" {
105105
# https://cloud.google.com/build/docs/securing-builds/store-manage-build-logs#store-custom-bucket
106106
module "bucket" {
107107
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
108-
version = "~> 3.2"
108+
version = "~> 5.0"
109109

110110
name = local.log_bucket_name
111111
project_id = var.project_id

modules/tf_cloudbuild_source/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module "cloudbuild_project" {
5151
// Creating the bucket beforehand make it is possible to define a custom location.
5252
module "cloudbuild_bucket" {
5353
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
54-
version = "~> 3.2"
54+
version = "~> 5.0"
5555

5656
name = "${module.cloudbuild_project.project_id}_cloudbuild"
5757
project_id = module.cloudbuild_project.project_id

modules/tf_cloudbuild_workspace/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This module creates:
5959
| state\_bucket\_self\_link | Custom GCS bucket for storing TF state. Defaults to being created if empty. | `string` | `""` | no |
6060
| substitutions | Map of substitutions to use in builds. | `map(string)` | `{}` | no |
6161
| tf\_apply\_branches | List of git branches configured to run terraform apply Cloud Build trigger. All other branches will run plan by default. | `list(string)` | <pre>[<br> "main"<br>]</pre> | no |
62-
| tf\_cloudbuilder | Name of the Cloud Builder image used for running build steps. | `string` | `"hashicorp/terraform:1.2.2"` | no |
62+
| tf\_cloudbuilder | Name of the Cloud Builder image used for running build steps. | `string` | `"hashicorp/terraform:1.3.10"` | no |
6363
| tf\_repo\_dir | The directory inside the repo where the Terrafrom root config is located. If empty defaults to repo root. | `string` | `""` | no |
6464
| tf\_repo\_type | Type of repo | `string` | `"CLOUD_SOURCE_REPOSITORIES"` | no |
6565
| tf\_repo\_uri | The URI of the repo where Terraform configs are stored. | `string` | n/a | yes |

modules/tf_cloudbuild_workspace/buckets.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ locals {
2929

3030
module "artifacts_bucket" {
3131
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
32-
version = "~> 3.2"
32+
version = "~> 5.0"
3333

3434
name = var.artifacts_bucket_name != "" ? var.artifacts_bucket_name : "${local.default_prefix}-build-artifacts-${var.project_id}"
3535
project_id = var.project_id
@@ -45,7 +45,7 @@ resource "google_storage_bucket_iam_member" "artifacts_admin" {
4545

4646
module "log_bucket" {
4747
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
48-
version = "~> 3.2"
48+
version = "~> 5.0"
4949

5050
name = var.log_bucket_name != "" ? var.log_bucket_name : "${local.default_prefix}-build-logs-${var.project_id}"
5151
project_id = var.project_id
@@ -62,7 +62,7 @@ resource "google_storage_bucket_iam_member" "log_admin" {
6262
# Custom bucket for storing TF state
6363
module "state_bucket" {
6464
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
65-
version = "~> 3.2"
65+
version = "~> 5.0"
6666
count = var.create_state_bucket ? 1 : 0
6767

6868
name = var.create_state_bucket_name != "" ? var.create_state_bucket_name : "${local.default_prefix}-build-state-${var.project_id}"

modules/tf_cloudbuild_workspace/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ variable "substitutions" {
139139
variable "tf_cloudbuilder" {
140140
description = "Name of the Cloud Builder image used for running build steps."
141141
type = string
142-
default = "hashicorp/terraform:1.2.2"
142+
default = "hashicorp/terraform:1.3.10"
143143
}
144144

145145
variable "prefix" {

0 commit comments

Comments
 (0)