Last active
July 5, 2018 20:21
-
-
Save danielkhan/e05eb3360c031108b19a4353dbc88595 to your computer and use it in GitHub Desktop.
This file contains 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
# The name of the service | |
service: dynatrace-lambda-sample | |
provider: | |
name: aws | |
# The node version to use | |
runtime: nodejs8.10 | |
functions: | |
hello: | |
# From the deploy screen in Dynatrace | |
# this points to our module and passes the basic Lambda configuration to it | |
handler: node_modules/@dynatrace/oneagent.index$handler | |
environment: | |
# The options from SSM | |
DT_LAMBDA_OPTIONS: ${ssm:/dynatrace/lambda/sample/DT_LAMBDA_OPTIONS} | |
events: | |
- http: | |
# The route that our service will listen to | |
path: weather | |
method: get |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment