Skip to content

feat: add Dataflow example for confidential compute - #106

Open
guilherme-hosoda-cit wants to merge 9 commits into
terraform-google-modules:mainfrom
guilherme-hosoda-cit:feat/add-example-using-confidential-compute
Open

feat: add Dataflow example for confidential compute#106
guilherme-hosoda-cit wants to merge 9 commits into
terraform-google-modules:mainfrom
guilherme-hosoda-cit:feat/add-example-using-confidential-compute

Conversation

@guilherme-hosoda-cit

Copy link
Copy Markdown

This PR adds a new example on how to use the Dataflow module to configure jobs with Confidential Computing, providing an extra layer of security for data during processing.

@erlanderlo erlanderlo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your help with this! some comments to consider

service_account_email = var.service_account_email
network_name = module.vpc.network_self_link
subnetwork = module.vpc.subnets_self_links[0]
use_public_ips = true

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need public IPs?

*/

module "example" {
source = "../../../examples/confidential_compute_example"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since this is already in the example direction, consider just calling this "confidential_computing" instead of "confidential_computing_example" unless there is an existing pattern for this.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like this is following convention

@@ -0,0 +1,82 @@
# Copyright 2019 Google LLC

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/2019/2026/

Comment thread .kitchen.yml Outdated
- name: "confidential_compute_example"
driver:
name: "terraform"
command_timeout: 1800

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe indicate the reasoning want to wait; perhaps because the workers need to spin up, as well?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this follows the other timeout for the DF examples

@erlanderlo erlanderlo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks for your contribution and addressing my comments

@@ -0,0 +1,82 @@
# Copyright 2026 Google LLC

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ruby based test is deprecated, can you move to go based test like this! https://github.com/terraform-google-modules/terraform-google-sql-db/tree/main/test/integration/mssql-public

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@q2w Thank you for the feedback. I have made the modifications to use the new framework. Could you please review it again?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I decided not to migrate the other test in this PR to avoid a large refactor. However, I can open a dedicated PR for the other example right after.

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@guilherme-hosoda-cit

Copy link
Copy Markdown
Author

Hi @q2w, could you please take a look at this PR or point me to someone who can? Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants