diff --git a/aws/logs_monitoring/settings.py b/aws/logs_monitoring/settings.py index 4d9aa072..10b61188 100644 --- a/aws/logs_monitoring/settings.py +++ b/aws/logs_monitoring/settings.py @@ -339,7 +339,7 @@ def get_enrich_cloudwatch_tags(): DD_CUSTOM_TAGS = "ddtags" DD_SERVICE = "service" DD_HOST = "host" -DD_FORWARDER_VERSION = "5.0.0" +DD_FORWARDER_VERSION = "5.1.0" # CONST STRINGS AWS_STRING = "aws" diff --git a/aws/logs_monitoring/template.yaml b/aws/logs_monitoring/template.yaml index ca10346a..d70e99cd 100644 --- a/aws/logs_monitoring/template.yaml +++ b/aws/logs_monitoring/template.yaml @@ -3,8 +3,8 @@ Description: Pushes logs, metrics and traces from AWS to Datadog. Mappings: Constants: DdForwarder: - Version: 5.0.0 - LayerVersion: "91" + Version: 5.1.0 + LayerVersion: "92" Parameters: DdApiKey: Type: String @@ -359,8 +359,7 @@ Conditions: SetLayerARN: !Not - !Equals [!Ref LayerARN, ""] SetDdForwardLog: !Equals [!Ref DdForwardLog, false] - SetDdStepFunctionsTraceEnabled: - !Equals [!Ref DdStepFunctionsTraceEnabled, true] + SetDdStepFunctionsTraceEnabled: !Equals [!Ref DdStepFunctionsTraceEnabled, true] SetDdUseCompression: !Equals [!Ref DdUseCompression, false] SetDdCompressionLevel: !Not - !Equals [!Ref DdCompressionLevel, 6] @@ -446,10 +445,7 @@ Resources: - !Ref DdForwarderExistingBucketName S3Key: !Sub - "aws-dd-forwarder-${DdForwarderVersion}.zip" - - { - DdForwarderVersion: - !FindInMap [Constants, DdForwarder, Version], - } + - {DdForwarderVersion: !FindInMap [Constants, DdForwarder, Version]} - ZipFile: " " MemorySize: !Ref MemorySize Runtime: python3.13 @@ -849,7 +845,7 @@ Resources: - !Ref SourceZipUrl - !Sub - "https://github.com/DataDog/datadog-serverless-functions/releases/download/aws-dd-forwarder-${DdForwarderVersion}/aws-dd-forwarder-${DdForwarderVersion}.zip" - - { DdForwarderVersion: !FindInMap [Constants, DdForwarder, Version] } + - {DdForwarderVersion: !FindInMap [Constants, DdForwarder, Version]} # The Forwarder's source code is too big to fit the inline code size limit for CloudFormation. In most of AWS # partitions and regions, the Forwarder is able to load its source code from a Lambda layer attached to it. # In places where Datadog can't/doesn't yet publish Lambda layers, use another Lambda to copy the source code