How to request the aws-sdk plugin in Serverless.yml?

0

I have a Typescript function that needs to import the aws-sdk plugin for NodeJs.

import * as Lambda from 'aws-sdk/clients/lambda';

In serverless.yml you should normally do:

plugins: 
 - serverless-aws-sdk

When I try to deploy I get an error saying that the plugin does not exist.

How can I request this serverless.yml plugin, if it is necessary (if it is not default on serverless)?

    
asked by anonymous 03.08.2018 / 17:37

0 answers