1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-08 22:36:41 +02:00
Files
golang-saas-starter-kit/functions/ddlogscollector/lambda-func-definition-dev.json
Lee Brown 28144332f1 issue#8: Added example code for datadog log collector
This code was copied from another project and should be used as a
reference. Im not sure if the functions directory is a good locaiton and
the task definitions include incorrect account information. The task
definition should by dynamically generated by the deploy script.
2019-07-15 13:00:36 -08:00

19 lines
507 B
JSON

{
"FunctionName": "{LAMBDA_FUNC}",
"MemorySize": 512,
"Role": "arn:aws:iam::074586779200:role/DatadogAWSIntegrationLambdaRole",
"Timeout": 300,
"Runtime": "python2.7",
"TracingConfig": {
"Mode": "PassThrough"
},
"Description": "Ship logs from cloudwatch to datadog",
"Handler": "lambda_function.lambda_handler",
"Environment": {
"Variables": {
"DD_API_KEY": "{DATADOG_APIKEY}",
"LAMBDA_FUNC": "{LAMBDA_FUNC}"
}
}
}