diff --git a/examples/machine-learning-pipeline/assets/vpc-sc-policies/non-production.tf.example b/examples/machine-learning-pipeline/assets/vpc-sc-policies/non-production.tf.example index d0501d5..ad2196e 100644 --- a/examples/machine-learning-pipeline/assets/vpc-sc-policies/non-production.tf.example +++ b/examples/machine-learning-pipeline/assets/vpc-sc-policies/non-production.tf.example @@ -69,6 +69,8 @@ egress_policies = [ "identities" = [ "serviceAccount:service-REPLACE_WITH_ENV_ML_PROJECT_NUMBER@gcp-sa-notebooks.iam.gserviceaccount.com", "serviceAccount:service-REPLACE_WITH_ENV_ML_PROJECT_NUMBER@compute-system.iam.gserviceaccount.com", + "serviceAccount:REPLACE_WITH_ENV_ML_PROJECT_NUMBER-compute@developer.gserviceaccount.com", + "serviceAccount:cloud-aiplatform-api-robot-prod@system.gserviceaccount.com", ] }, "to" = { @@ -80,6 +82,9 @@ egress_policies = [ "cloudkms.googleapis.com" = { "methods" = ["*"] } + "storage.googleapis.com" = { + "methods" = ["*"] + } } } }, diff --git a/examples/machine-learning-pipeline/assets/vpc-sc-policies/production.tf.example b/examples/machine-learning-pipeline/assets/vpc-sc-policies/production.tf.example index 3392e65..4a604cb 100644 --- a/examples/machine-learning-pipeline/assets/vpc-sc-policies/production.tf.example +++ b/examples/machine-learning-pipeline/assets/vpc-sc-policies/production.tf.example @@ -69,6 +69,7 @@ egress_policies = [ "identities" = [ "serviceAccount:service-REPLACE_WITH_ENV_ML_PROJECT_NUMBER@gcp-sa-notebooks.iam.gserviceaccount.com", "serviceAccount:service-REPLACE_WITH_ENV_ML_PROJECT_NUMBER@compute-system.iam.gserviceaccount.com", + "serviceAccount:service-REPLACE_WITH_ENV_ML_PROJECT_NUMBER@gcp-sa-aiplatform.iam.gserviceaccount.com", ] }, "to" = { @@ -80,6 +81,9 @@ egress_policies = [ "cloudkms.googleapis.com" = { "methods" = ["*"] } + "storage.googleapis.com" = { + "methods" = ["*"] + } } } },