Created
May 4, 2023 01:01
-
-
Save hendrixroa/acc88d21e8edb9df531bf0ded8688a00 to your computer and use it in GitHub Desktop.
Cloudwatch event rule for run every 5 minutes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_cloudwatch_event_rule" "cron_five_minutes" { | |
name = "cron_rate_5" | |
description = "Schedule trigger for run every 5 minutes" | |
schedule_expression = "rate(5 minutes)" | |
is_enabled = true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment