You've already forked golang-saas-starter-kit
mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-08-08 22:36:41 +02:00
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.
19 lines
507 B
JSON
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}"
|
|
}
|
|
}
|
|
}
|