From cb71ad63b5827fe3dc4933bdcb2f89660ca94766 Mon Sep 17 00:00:00 2001 From: Sivadevsecops <71688381+Sivadevsecops@users.noreply.github.com> Date: Mon, 5 Oct 2020 08:39:47 +0100 Subject: [PATCH] Update template.yaml --- template.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template.yaml b/template.yaml index 1222a8f..ef51206 100644 --- a/template.yaml +++ b/template.yaml @@ -46,11 +46,11 @@ Resources: Action: - "lambda:InvokeFunction" Resource: !Ref returnS3Buckets.Version - Runtime: nodejs6.10 + Runtime: nodejs12.x FunctionName: 'CodeDeployHook_preTrafficHook' DeploymentPreference: Enabled: false Timeout: 5 Environment: Variables: - NewVersion: !Ref returnS3Buckets.Version \ No newline at end of file + NewVersion: !Ref returnS3Buckets.Version