Skip to content

Commit

Permalink
chore: migrate dev project cleaner to GAR (#2487)
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathkkb authored Aug 2, 2024
1 parent ccd164f commit 712b7f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion infra/terraform/dev-org/dev-project-cleanup/cleanup.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
}

0 comments on commit 712b7f2

Please sign in to comment.