diff --git a/infrastructure/base/modules/env/main.tf b/infrastructure/base/modules/env/main.tf index aa81301db..892bfbb85 100644 --- a/infrastructure/base/modules/env/main.tf +++ b/infrastructure/base/modules/env/main.tf @@ -167,6 +167,15 @@ module "backend_build" { "--region", var.gcp_region, "--max-instances", var.backend_max_scale ] }, + { + name = "gcr.io/google.com/cloudsdktool/cloud-sdk" + entrypoint = "gcloud" + args = [ + "run", "services", "update-traffic", "${var.project_name}-jobs", + "--region", var.gcp_region, + "--to-latest" + ] + } ] }