Skip to content

Instantly share code, notes, and snippets.

@SimonHoiberg
Last active June 19, 2020 14:12
Show Gist options
  • Save SimonHoiberg/5ed83689a172d019eab9e955a1fb43cd to your computer and use it in GitHub Desktop.
Save SimonHoiberg/5ed83689a172d019eab9e955a1fb43cd to your computer and use it in GitHub Desktop.
# serverless.yml
stripe-create-customer:
handler: dist/lambdas/stripe/createCustomer.handler
events:
- http:
path: stripe/create-customer
method: post
environment:
STRIPE_SECRET_KEY: PUT-YOUR-SECRET-KEY-HERE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment