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