Created
July 10, 2018 14:41
-
-
Save danielkhan/c52280088d0f24082870ec997032991e 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
# 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