Skip to content

Instantly share code, notes, and snippets.

@Blind-Striker
Last active August 12, 2019 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Blind-Striker/fa187043e94d1a7c44cd89a32db85c83 to your computer and use it in GitHub Desktop.
Save Blind-Striker/fa187043e94d1a7c44cd89a32db85c83 to your computer and use it in GitHub Desktop.
serverless.yml for localstack demo
service: profile
plugins:
- serverless-localstack
custom:
localstack:
host: http://${env:LOCAL_STACK_HOST}
stages:
- local
stages:
- local
- prod
provider:
name: aws
runtime: dotnetcore2.1
region: eu-central-1
stage: ${opt:stage, 'local'}
package:
individually: true
functions:
hello:
handler: CsharpHandlers::AwsDotnetCsharp.Handler::Hello
package:
artifact: artifact/hello.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment