Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hendrixroa/acc88d21e8edb9df531bf0ded8688a00 to your computer and use it in GitHub Desktop.
Save hendrixroa/acc88d21e8edb9df531bf0ded8688a00 to your computer and use it in GitHub Desktop.
Cloudwatch event rule for run every 5 minutes
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