Commit 037ca895 authored by A-Gordon's avatar A-Gordon

Changed from cron to rate expression

parent 0168d33e
......@@ -25,7 +25,7 @@ resource "aws_lambda_function" "packer_janitor" {
variable "cloudwatch_schedule" {
description = "Schedule for cloudwatch event to invoke Lambda function"
default = "cron(*/2 * ? * * *)"
default = "rate(2 hours)"
}
resource "aws_cloudwatch_event_rule" "packer_janitor" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment