diff --git a/modules/database-migrations/lambda.tf b/modules/database-migrations/lambda.tf index 5d25de38..ffe10dfa 100644 --- a/modules/database-migrations/lambda.tf +++ b/modules/database-migrations/lambda.tf @@ -30,7 +30,7 @@ resource "aws_lambda_function" "database_migration_function" { function_name = "tdr-database-migrations-${var.environment}" handler = "migration.Main::runMigration" role = aws_iam_role.lambda_assume_role.arn - runtime = "java11" + runtime = "java17" filename = "${path.module}/temp.zip" memory_size = 512 timeout = 60