Skip to content

Commit

Permalink
chore(CI): enable clean_up_billing_sinks (#2371)
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody authored May 23, 2024
1 parent 79e086f commit b4d0dd2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions infra/terraform/test-org/test-cleanup/cleanup.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

module "scheduler-app-engine" {
source = "terraform-google-modules/project-factory/google//modules/app_engine"
version = "~> 14.0"
version = "~> 15.0"
location_id = local.app_location
project_id = module.cft-manager-project.project_id
}

module "projects_cleaner" {
source = "terraform-google-modules/scheduled-function/google//modules/project_cleanup"
version = "~> 4.1"
version = "~> 4.2"

job_schedule = "17 * * * *"
max_project_age_in_hours = "6"
Expand All @@ -39,4 +39,8 @@ module "projects_cleaner" {

clean_up_org_level_scc_notifications = true
target_included_scc_notifications = [".*/notificationConfigs/scc-notify-.*"]

clean_up_billing_sinks = true
target_billing_sinks = [".*/sinks/sk-c-logging-.*-billing-.*"]
billing_account = local.billing_account
}

0 comments on commit b4d0dd2

Please sign in to comment.