An example of how to postprocess Excel files uploaded to S3 using the Serverless Framework.
For the sake of example uploaded files are opened using the library xlrd and the name of the sheets found are sent by mail to all the subscribers of a target SNS topic.
- Install the serverless framework
npm install serverless -g
- Install the serverless-python-requirements plugin
npm install
-
Configure your AWS credentials through one of the provided methods
-
Edit the serverless.yml file and insert desided values for the variables under the custom section
By default it deploys on the dev stage. To deploy in another stage use the --stage parameter.
serverless deploy [--stage <STAGE>]