Skip to content

Commit

Permalink
turn off zero activity (#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrwarren authored Dec 3, 2024
1 parent ca71d5f commit a22c034
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ resource "aws_cloudwatch_event_rule" "delete_zero_activity_users" {
description = "Delete zero activity users in ${terraform.workspace}"
schedule_expression = "cron(20 6 * * ? *)"
tags = var.default_tags
is_enabled = false
}

resource "aws_cloudwatch_event_target" "delete_zero_activity_users" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ resource "aws_cloudwatch_event_rule" "delete_zero_activity_users_check" {
name = "check-delete-zero-activity-users-${terraform.workspace}"
description = "Execute the delete zero activity users check for ${terraform.workspace}"
schedule_expression = "cron(12 09 * * ? *)"
is_enabled = var.account.is_production == 1 ? true : false
# is_enabled = var.account.is_production == 1 ? true : false
is_enabled = false
}

resource "aws_cloudwatch_event_target" "delete_zero_activity_users_check" {
Expand Down

0 comments on commit a22c034

Please sign in to comment.