diff --git a/terraform/modules/lambda_s3/eb.tf b/terraform/modules/lambda_s3/eb.tf index c15f5db74..3ccc6520b 100644 --- a/terraform/modules/lambda_s3/eb.tf +++ b/terraform/modules/lambda_s3/eb.tf @@ -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 * * ? *)" }