From ccfa5b921b9cbaedd94d340169c2d177650233a1 Mon Sep 17 00:00:00 2001 From: Guilherme Hosoda Date: Wed, 11 Mar 2026 15:01:33 -0300 Subject: [PATCH 1/2] chore: fix simple example modules version --- examples/simple_example/README.md | 4 ++-- examples/simple_example/main.tf | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/simple_example/README.md b/examples/simple_example/README.md index 48cd3a5..8a620ce 100644 --- a/examples/simple_example/README.md +++ b/examples/simple_example/README.md @@ -11,13 +11,13 @@ As featured in this example, using a single regional bucket for storing your job Also, to optimize your jobs performance, this bucket should always in the corresponding region of the zones in which your jobs are running. ## Running the example -Make sure you grant the addtional permissions below to the service account execute the module: +Make sure you grant the additional permissions below to the service account execute the module: - roles/compute.networkAdmin ### Controller Service Account -This example features the use of a controller service accoun which is specified with the `service_account_email` input variables. +This example features the use of a controller service account which is specified with the `service_account_email` input variables. We recommend using a custome service account with fine-grained access control to mitigate security risks. See more about controller service accounts [here](https://cloud.google.com/dataflow/docs/concepts/security-and-permissions#controller_service_account) diff --git a/examples/simple_example/main.tf b/examples/simple_example/main.tf index 3c5e66b..ffd1012 100644 --- a/examples/simple_example/main.tf +++ b/examples/simple_example/main.tf @@ -52,7 +52,7 @@ module "vpc" { module "dataflow-bucket" { source = "terraform-google-modules/dataflow/google//modules/dataflow_bucket" - version = "~> 2.0" + version = "~> 3.0" name = local.gcs_bucket_name region = var.region @@ -62,7 +62,7 @@ module "dataflow-bucket" { module "dataflow-job" { source = "terraform-google-modules/dataflow/google//modules/legacy" - version = "~> 2.0" + version = "~> 3.0" project_id = var.project_id name = "wordcount-terraform-example" @@ -84,7 +84,7 @@ module "dataflow-job" { module "dataflow-job-2" { source = "terraform-google-modules/dataflow/google//modules/legacy" - version = "~> 2.0" + version = "~> 3.0" project_id = var.project_id name = "wordcount-terraform-example-2" From 6a706c6eb196dd499a416c239e2d61d06f905007 Mon Sep 17 00:00:00 2001 From: Guilherme Hosoda Date: Wed, 11 Mar 2026 15:16:24 -0300 Subject: [PATCH 2/2] chore: fix dlp api example modules version --- examples/dlp_api_example/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/dlp_api_example/main.tf b/examples/dlp_api_example/main.tf index f5e899b..5b7271c 100644 --- a/examples/dlp_api_example/main.tf +++ b/examples/dlp_api_example/main.tf @@ -28,7 +28,7 @@ locals { module "dataflow-bucket" { source = "terraform-google-modules/dataflow/google//modules/dataflow_bucket" - version = "~> 2.0" + version = "~> 3.0" name = local.gcs_bucket_name region = var.region @@ -110,7 +110,7 @@ EOF module "dataflow-job" { source = "terraform-google-modules/dataflow/google//modules/legacy" - version = "~> 2.0" + version = "~> 3.0" project_id = var.project_id name = "dlp_example_${null_resource.download_sample_cc_into_gcs.id}_${null_resource.deinspection_template_setup.id}"