Skip to content

feat: add Dataflow example for confidential compute#106

Open
guilherme-hosoda-cit wants to merge 2 commits intoterraform-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 2 commits intoterraform-google-modules:mainfrom
guilherme-hosoda-cit:feat/add-example-using-confidential-compute

Conversation

@guilherme-hosoda-cit
Copy link

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.

Copy link

@erlanderlo erlanderlo left a comment

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

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"

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.

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

Choose a reason for hiding this comment

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

s/2019/2026/

- name: "confidential_compute_example"
driver:
name: "terraform"
command_timeout: 1800

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?

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.

2 participants