diff --git a/mmv1/products/workbench/Instance.yaml b/mmv1/products/workbench/Instance.yaml index 78bb90df7325..8575e8be652f 100644 --- a/mmv1/products/workbench/Instance.yaml +++ b/mmv1/products/workbench/Instance.yaml @@ -81,6 +81,8 @@ examples: key_name: 'my-crypto-key' test_vars_overrides: key_name: 'acctest.BootstrapKMSKeyInLocation(t, "us-central1").CryptoKey.Name' + test_env_vars: + service_account: :SERVICE_ACCT ignore_read_extra: - 'gce_setup.0.vm_image' - 'gce_setup.0.boot_disk.0.disk_type' diff --git a/mmv1/templates/terraform/examples/workbench_instance_full.tf.erb b/mmv1/templates/terraform/examples/workbench_instance_full.tf.erb index b413e9bfc3fd..270f73d23abc 100644 --- a/mmv1/templates/terraform/examples/workbench_instance_full.tf.erb +++ b/mmv1/templates/terraform/examples/workbench_instance_full.tf.erb @@ -59,6 +59,8 @@ resource "google_workbench_instance" "<%= ctx[:primary_resource_id] %>" { disable_proxy_access = "true" + instance_owners = [ "<%= ctx[:test_env_vars]["service_account"] %>"] + labels = { k = "val" }