Skip to content

Commit

Permalink
Merge pull request #387 from nationalarchives/increase-backend-checks…
Browse files Browse the repository at this point in the history
…-timeouts

Increase backend checks timeouts
  • Loading branch information
TomJKing authored Nov 1, 2023
2 parents f565249 + c46e94f commit a092e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion root_backend_checks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ module "api_update_v2" {
function_name = local.api_update_v2_function_name
handler = "uk.gov.nationalarchives.api.update.Lambda::update"
reserved_concurrency = -1
timeout_seconds = 60
timeout_seconds = 90
policies = {
"TDRAPIUpdateV2LambdaPolicy${title(local.environment)}" = templatefile("./templates/iam_policy/lambda_policy.json.tpl", {
function_name = local.api_update_v2_function_name,
Expand Down Expand Up @@ -211,6 +211,7 @@ module "statuses" {
function_name = local.statuses_function_name
handler = "uk.gov.nationalarchives.Lambda::run"
reserved_concurrency = -1
timeout_seconds = 30
policies = {
"TDRStatusesLambdaPolicy${title(local.environment)}" = templatefile("./templates/iam_policy/allow_iam_db_auth.json.tpl", {
function_name = local.statuses_function_name,
Expand Down

0 comments on commit a092e85

Please sign in to comment.