From 1e523703ff40b4c2c0693500aec4c591a8c79cad Mon Sep 17 00:00:00 2001 From: TomJKing Date: Mon, 6 Jan 2025 08:39:40 +0000 Subject: [PATCH] Ugrade runtime to Java 17 --- modules/database-migrations/lambda.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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