Skip to content

Commit

Permalink
chore(deps): Update TF modules
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate-bot committed Nov 11, 2023
1 parent 40fc5af commit 9897c7e
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion examples/cloud_function2_pubsub_trigger/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "google_storage_bucket_object" "function-source" {

module "pubsub" {
source = "terraform-google-modules/pubsub/google"
version = "~> 5.0"
version = "~> 6.0"

topic = "function2-topic"
project_id = var.project_id
Expand Down
4 changes: 2 additions & 2 deletions examples/secure_cloud_function_bigquery_trigger/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ module "secure_harness" {

module "cloudfunction_source_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~>3.4"
version = "~> 5.0"

project_id = module.secure_harness.serverless_project_ids[0]
name = "bkt-${local.location}-${module.secure_harness.serverless_project_numbers[module.secure_harness.serverless_project_ids[0]]}-cfv2-zip-files"
Expand Down Expand Up @@ -145,7 +145,7 @@ module "bigquery_kms" {

module "bigquery" {
source = "terraform-google-modules/bigquery/google"
version = "~> 6.0"
version = "~> 7.0"

dataset_id = "dst_secure_cloud_function"
dataset_name = "dst-secure-cloud-function"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ resource "google_compute_instance" "internal_server" {

module "internal_server_firewall_rule" {
source = "terraform-google-modules/network/google//modules/firewall-rules"
version = "~> 7.0"
version = "~> 8.0"
project_id = module.secure_harness.network_project_id[0]
network_name = module.secure_harness.service_vpc[0].network.name

Expand Down
2 changes: 1 addition & 1 deletion examples/secure_cloud_function_internal_server/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module "secure_harness" {

module "cloudfunction_source_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~>3.4"
version = "~> 5.0"

project_id = module.secure_harness.serverless_project_ids[0]
name = "bkt-${local.location}-${module.secure_harness.serverless_project_numbers[module.secure_harness.serverless_project_ids[0]]}-cfv2-zip-files"
Expand Down
10 changes: 5 additions & 5 deletions examples/secure_cloud_function_with_sql/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module "secure_harness" {

module "cloudfunction_source_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~>3.4"
version = "~> 5.0"

project_id = module.secure_harness.serverless_project_ids[0]
name = "bkt-${local.location}-${module.secure_harness.serverless_project_numbers[module.secure_harness.serverless_project_ids[0]]}-cfv2-zip-files"
Expand All @@ -99,7 +99,7 @@ module "cloudfunction_source_bucket" {

module "cloud_sql_temp_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~>3.4"
version = "~> 5.0"

project_id = module.secure_harness.serverless_project_ids[1]
name = "bkt-${local.location}-${module.secure_harness.serverless_project_numbers[module.secure_harness.serverless_project_ids[1]]}-temp-files"
Expand Down Expand Up @@ -257,7 +257,7 @@ module "secure_web_proxy" {

module "safer_mysql_db" {
source = "GoogleCloudPlatform/sql-db/google//modules/mysql"
version = "~> 15.0"
version = "~> 17.0"
name = "csql-test"
db_name = local.db_name
random_instance_name = true
Expand Down Expand Up @@ -285,7 +285,7 @@ module "safer_mysql_db" {

module "cloud_sql_firewall_rule" {
source = "terraform-google-modules/network/google//modules/firewall-rules"
version = "~> 7.0"
version = "~> 8.0"
project_id = module.secure_harness.network_project_id[0]
network_name = module.secure_harness.service_vpc[0].network.name

Expand Down Expand Up @@ -464,7 +464,7 @@ resource "google_cloud_scheduler_job" "job" {

module "pubsub" {
source = "terraform-google-modules/pubsub/google"
version = "~> 5.0"
version = "~> 6.0"

topic = "tpc-cloud-function-sql"
project_id = module.secure_harness.serverless_project_ids[0]
Expand Down
4 changes: 2 additions & 2 deletions modules/secure-cloud-function-core/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ data "google_project" "project" {

module "cloudfunction_bucket" {
source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket"
version = "~>4.0"
version = "~> 5.0"

project_id = var.project_id
labels = var.labels
Expand Down Expand Up @@ -67,7 +67,7 @@ module "pubsub" {
for_each = toset(["container-analysis-notes-v1", "container-analysis-notes-v1beta1", "container-analysis-occurrences-v1", "container-analysis-occurrences-v1beta1"])

source = "terraform-google-modules/pubsub/google"
version = "~> 5.0"
version = "~> 6.0"

topic = each.value
project_id = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion modules/secure-web-proxy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ resource "google_compute_subnetwork" "swp_subnetwork_proxy" {

module "swp_firewall_rule" {
source = "terraform-google-modules/network/google//modules/firewall-rules"
version = "~> 7.0"
version = "~> 8.0"
project_id = var.project_id
network_name = var.network_id

Expand Down

0 comments on commit 9897c7e

Please sign in to comment.