Last active
February 17, 2019 20:10
-
-
Save tkeeber/5d9321919d5fdc85a257fcf912c3829d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: AWS::Serverless-2016-10-31 | |
Description: Example template | |
Resources: | |
GetOrdersFunction: | |
Type: AWS::Serverless::Function | |
Properties: | |
CodeUri: orderlambda/ | |
Handler: app.lambdaHandler | |
Runtime: nodejs8.10 | |
Environment: | |
Variables: | |
DB_USER: '{{resolve:ssm:DATABASE_USERNAME:1}}' | |
DB_PASSWORD: '{{resolve:ssm:DATABASE_PASSWORD:1}}' | |
DB_HOSTNAME: '{{resolve:ssm:DATABASE_HOSTNAME:1}}' | |
Events: | |
HelloWorld: | |
Type: Api | |
Properties: | |
Path: /orders | |
Method: get |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment