Preventing lambda retries for now

This commit is contained in:
cgduncan7 2021-11-28 19:54:26 +01:00
parent b9349592be
commit b436768482
No known key found for this signature in database
GPG key ID: EC1CAB0285287510

View file

@ -27,4 +27,10 @@ resource "aws_iam_role" "reservation_scheduler_lambda_iam_role" {
]
}
EOF
}
resource "aws_lambda_function_event_invoke_config" "reservation_scheduler_lambda_config" {
function_name = aws_lambda_function.reservation_scheduler_lambda.function_name
maximum_event_age_in_seconds = 60
maximum_retry_attempts = 0
}