Skip to content

Commit d58ab40

Browse files
jim80netQingping Hou
authored andcommitted
chore: include Datadog Trace Forwarder which is a required layer
COREINF-1665
1 parent 797da3a commit d58ab40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

logshipping.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ resource "aws_lambda_function" "dd-log" {
9090
# This brings in requirements for the lambda to run (imports modules)
9191
# This allows the dd_log_lambda.zip to be very small https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html
9292
# This specific layer is: https://github.com/DataDog/datadog-lambda-layer-python
93-
layers = ["arn:aws:lambda:${var.aws_region}:464622532012:layer:Datadog-Python27:11"]
93+
layers = [
94+
"arn:aws:lambda:${var.aws_region}:464622532012:layer:Datadog-Python27:11",
95+
"arn:aws:lambda:${var.aws_region}:464622532012:layer:Datadog-Trace-Forwarder-Python37:5"
96+
]
9497

9598
environment {
9699
variables = {

0 commit comments

Comments
 (0)