From 712b7f2d81bed9d8ae08e85a7142b51bf6e593e7 Mon Sep 17 00:00:00 2001 From: Bharath KKB Date: Fri, 2 Aug 2024 11:13:01 -0500 Subject: [PATCH] chore: migrate dev project cleaner to GAR (#2487) --- infra/terraform/dev-org/dev-project-cleanup/cleanup.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/terraform/dev-org/dev-project-cleanup/cleanup.tf b/infra/terraform/dev-org/dev-project-cleanup/cleanup.tf index 23d056f9c92..cd60a0aacc7 100644 --- a/infra/terraform/dev-org/dev-project-cleanup/cleanup.tf +++ b/infra/terraform/dev-org/dev-project-cleanup/cleanup.tf @@ -23,7 +23,7 @@ module "app-engine" { module "projects_cleanup" { source = "terraform-google-modules/scheduled-function/google//modules/project_cleanup" - version = "~> 3.0" + version = "~> 4.0" job_schedule = "17 * * * *" max_project_age_in_hours = "24" @@ -32,4 +32,5 @@ module "projects_cleanup" { region = local.region target_excluded_labels = local.exclude_labels target_folder_id = local.cleanup_folder + function_docker_registry = "ARTIFACT_REGISTRY" }