Skip to content

Commit

Permalink
chore:lambda version update
Browse files Browse the repository at this point in the history
  • Loading branch information
rnithinpaladin committed Mar 28, 2024
1 parent 3f894f9 commit 264bc45
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion installer/resources/cognito/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class AuthPostLambdaFunction(LambdaFunctionResource):
function_name = "postauth"
role = PostAuth.get_output_attr('arn')
handler = POST_AUTH_FILE_NAME + ".lambda_handler"
runtime = "python3.8"
runtime = "python3.12"
s3_bucket = BucketStorage.get_output_attr('bucket')
s3_key = UploadLambdaPostAuthFile.get_output_attr('id')
2 changes: 1 addition & 1 deletion installer/resources/lambda_rule_engine/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class RuleEngineLambdaFunction(LambdaFunctionResource):
function_name = "ruleengine"
role = LambdaRole.get_output_attr('arn')
handler = RULE_ENGINE_JOB_FILE_NAME + ".lambda_handler"
runtime = "python3.8"
runtime = "python3.12"
s3_bucket = BucketStorage.get_output_attr('bucket')
s3_key = UploadLambdaRuleEngineZipFile.get_output_attr('id')
environment = {
Expand Down
4 changes: 2 additions & 2 deletions installer/resources/lambda_submit/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SubmitJobLambdaFunction(LambdaFunctionResource):
function_name = "datacollector"
role = LambdaRole.get_output_attr('arn')
handler = BATCH_JOB_FILE_NAME + ".lambda_handler"
runtime = "python3.8"
runtime = "python3.12"
s3_bucket = BucketStorage.get_output_attr('bucket')
s3_key = UploadLambdaSubmitJobZipFile.get_output_attr('id')
environment = {
Expand Down Expand Up @@ -802,7 +802,7 @@ class LongRunningLambdaFunction(LambdaFunctionResource):
function_name = "longrunningjob"
role = LambdaRole.get_output_attr('arn')
handler = BATCH_LONG_RUNNING_JOB_FILE_NAME + ".lambda_handler"
runtime = "python3.8"
runtime = "python3.12"
s3_bucket = BucketStorage.get_output_attr('bucket')
s3_key = UploadLambdaLongRunningJobZipFile.get_output_attr('id')

Expand Down
6 changes: 3 additions & 3 deletions installer/resources/notification/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class InvokeNotificationFunction(LambdaFunctionResource):
timeout = 180
memory_size = 512
timeout = 180
runtime = "java11"
runtime = "java17"
s3_bucket = BucketStorage.get_output_attr('bucket')
s3_key = Settings.RESOURCE_NAME_PREFIX + PATH + INVOKE_NOTIFICATION + ".jar"
environment = {
Expand All @@ -47,7 +47,7 @@ class SendNotificationFunction(LambdaFunctionResource):
function_name = SEND_NOTIFICATION
role = LambdaRole.get_output_attr('arn')
handler = "com.paladincloud.InvokeNotificationsApi::handleRequest"
runtime = "java11"
runtime = "java17"
memory_size = 512
timeout = 180
s3_bucket = BucketStorage.get_output_attr('bucket')
Expand All @@ -66,7 +66,7 @@ class TemplateFormatterFunction(LambdaFunctionResource):
function_name = TEMPLATE_NOTIFICATION
role = LambdaRole.get_output_attr('arn')
handler = "com.paladincloud.FetchNotificationSettings::handleRequest"
runtime = "java11"
runtime = "java17"
memory_size = 512
timeout = 180
s3_bucket = BucketStorage.get_output_attr('bucket')
Expand Down

0 comments on commit 264bc45

Please sign in to comment.