Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# serverless.yml
service: cosmic-serverless
provider:
name: aws
runtime: nodejs6.10
stage: dev
region: us-east-1
environment:
COSMIC_BUCKET: ${env:COSMIC_BUCKET}
COSMIC_READ_KEY: ${env:COSMIC_READ_KEY}
functions:
app:
handler: app.handler
events:
- http: ANY /
- http: 'ANY {proxy+}'
plugins:
- serverless-offline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment