Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.gitignore
README.md
index.js
serverless.yml

README.md

Example Serverless Framework Project

Simple Serverless Framework example which creates a Lambda which has access to ParameterStore and Cloudwatch Logs and is triggered by a Cloudwatch Event.

Prerequisites

To try out this example you will need to install the Serverless Framework for your platform from here :

Install Serverless Framework

Assume you have created a file with your AWS credentials in ~./aws/credentials as the Serverless Framework will require these to be able to run.

Running Serverless Framework

To create the infrastructure run:

sls deploy --stage development -v

The serverless config has been setup to allow multiple stages/environments to be created but as yet only one called development exists.

Once you have finished you can destroy the infrastructure with :

sls remove --stage development