From 770b074351261da1244734304a98c2cbdbdc5104 Mon Sep 17 00:00:00 2001 From: Matthias Gubler Date: Tue, 9 Jul 2024 09:29:16 -0600 Subject: [PATCH] Update the Python runtime version (#794) Since version 3.99.0 the runtime 3.11 is required --- aws/logs_monitoring/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/logs_monitoring/README.md b/aws/logs_monitoring/README.md index be2b2575..a12abe39 100644 --- a/aws/logs_monitoring/README.md +++ b/aws/logs_monitoring/README.md @@ -114,7 +114,7 @@ resource "aws_cloudformation_stack" "datadog_forwarder" { If you can't install the Forwarder using the provided CloudFormation template, you can install the Forwarder manually following the steps below. Feel free to open an issue or pull request to let us know if there is anything we can improve to make the template work for you. -1. Create a Python 3.10 Lambda function using `aws-dd-forwarder-.zip` from the latest [releases][101]. +1. Create a Python 3.11 Lambda function using `aws-dd-forwarder-.zip` from the latest [releases][101]. 2. Save your [Datadog API key][102] in AWS Secrets Manager, set environment variable `DD_API_KEY_SECRET_ARN` with the secret ARN on the Lambda function, and add the `secretsmanager:GetSecretValue` permission to the Lambda execution role. 3. If you need to forward logs from S3 buckets, add the `s3:GetObject` permission to the Lambda execution role. 4. Set the environment variable `DD_ENHANCED_METRICS` to `false` on the Forwarder. This stops the Forwarder from generating enhanced metrics itself, but it will still forward custom metrics from other lambdas.