Skip to content

Commit

Permalink
Merge pull request #333 from nationalarchives/chore/db-backup-depreca…
Browse files Browse the repository at this point in the history
…ted-is-enabled

Swap deprecated is_enabled argument for state
  • Loading branch information
dragon-dxw authored Dec 5, 2023
2 parents a286689 + 49c2006 commit 4f68bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/modules/lambda_s3/eb.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
resource "aws_cloudwatch_event_rule" "db_backup" {
name = "db-backup"
description = "Trigger lambda to perform db snapshot"
is_enabled = true # update last
state = "ENABLED"
schedule_expression = "cron(0 12 * * ? *)"
}

Expand Down

0 comments on commit 4f68bf0

Please sign in to comment.