Skip to content

Commit

Permalink
Merge pull request #7 from gchamon/fix/parameterized-update-rate-no-e…
Browse files Browse the repository at this point in the history
…ffect

added parameterized update rate to lambda function trigger
  • Loading branch information
Gabriel Chamon Araujo authored Oct 22, 2019
2 parents 3a82f5e + 55494f4 commit fe8dc20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update-function.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ module "trigger-antivirus-update-periodically" {
source = "./modules/periodic-lambda-trigger"

lambda-function = aws_lambda_function.antivirus-update
schedule-expression = "rate(3 hours)"
description = "Update antivirus definitions every 3 hours"
schedule-expression = "rate(${var.antivirus-update-rate}})"
description = "Update antivirus definitions every ${var.antivirus-update-rate}"
}

0 comments on commit fe8dc20

Please sign in to comment.