Preventing lambda retries for now
This commit is contained in:
parent
7847bc7d77
commit
6b204a30f2
1 changed files with 6 additions and 0 deletions
|
|
@ -28,3 +28,9 @@ resource "aws_iam_role" "reservation_scheduler_lambda_iam_role" {
|
||||||
}
|
}
|
||||||
EOF
|
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
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue