@@ -3,8 +3,8 @@ Description: Pushes logs, metrics and traces from AWS to Datadog.
3
3
Mappings :
4
4
Constants :
5
5
DdForwarder :
6
- Version : 4.6 .0
7
- LayerVersion : " 81 "
6
+ Version : 4.7 .0
7
+ LayerVersion : " 82 "
8
8
Parameters :
9
9
DdApiKey :
10
10
Type : String
@@ -422,7 +422,7 @@ Resources:
422
422
- !Ref DdForwarderExistingBucketName
423
423
S3Key : !Sub
424
424
- " aws-dd-forwarder-${DdForwarderVersion}.zip"
425
- - { DdForwarderVersion: !FindInMap [Constants, DdForwarder, Version] }
425
+ - {DdForwarderVersion: !FindInMap [Constants, DdForwarder, Version]}
426
426
- ZipFile : " "
427
427
MemorySize : !Ref MemorySize
428
428
Runtime : python3.12
@@ -619,8 +619,8 @@ Resources:
619
619
PolicyDocument :
620
620
Version : " 2012-10-17"
621
621
Statement :
622
- - !If # Access the s3 bucket that is used by the forwarder as a datastore
623
- - SetForwarderBucket
622
+ - !If
623
+ - SetForwarderBucket # Access the s3 bucket that is used by the forwarder as a datastore
624
624
- Action :
625
625
- s3:GetObject
626
626
- s3:PutObject
@@ -660,8 +660,8 @@ Resources:
660
660
- kms:Decrypt
661
661
Resource : " *"
662
662
Effect : Allow
663
- - !If # Access the Datadog API key from Secrets Manager
664
- - SetDDApiSsmParamName
663
+ - !If
664
+ - SetDDApiSsmParamName # Access the Datadog API key from Secrets Manager
665
665
- !Ref AWS::NoValue
666
666
- Action :
667
667
- secretsmanager:GetSecretValue
@@ -679,31 +679,31 @@ Resources:
679
679
Resource : " *"
680
680
Effect : Allow
681
681
- !Ref AWS::NoValue
682
- - !If # Get tags for log groups and attach them to the logs sent to Datadog
683
- - SetDdFetchLogGroupTags
682
+ - !If
683
+ - SetDdFetchLogGroupTags # Get tags for log groups and attach them to the logs sent to Datadog
684
684
- Action :
685
685
- logs:ListTagsForResource
686
686
Resource : " *"
687
687
Effect : Allow
688
688
- !Ref AWS::NoValue
689
- - !If # Required for Lambda deployed in VPC
690
- - UseVPC
689
+ - !If
690
+ - UseVPC # Required for Lambda deployed in VPC
691
691
- Action :
692
692
- ec2:CreateNetworkInterface
693
693
- ec2:DescribeNetworkInterfaces
694
694
- ec2:DeleteNetworkInterface
695
695
Resource : " *"
696
696
Effect : Allow
697
697
- !Ref AWS::NoValue
698
- - !If # To invoke a follower Lambda with the same event received by the forwarder for dual-shipping
699
- - SetAdditionalTargetLambdas
698
+ - !If
699
+ - SetAdditionalTargetLambdas # To invoke a follower Lambda with the same event received by the forwarder for dual-shipping
700
700
- Action :
701
701
- lambda:InvokeFunction
702
702
Resource : !Ref AdditionalTargetLambdaArns
703
703
Effect : Allow
704
704
- !Ref AWS::NoValue
705
- - !If # Access the Datadog API key from SSM
706
- - SetDDApiSsmParamName
705
+ - !If
706
+ - SetDDApiSsmParamName # Access the Datadog API key from SSM
707
707
- Action :
708
708
- ssm:GetParameter
709
709
- ssm:GetParameters
@@ -824,7 +824,7 @@ Resources:
824
824
- !Ref SourceZipUrl
825
825
- !Sub
826
826
- " https://github.com/DataDog/datadog-serverless-functions/releases/download/aws-dd-forwarder-${DdForwarderVersion}/aws-dd-forwarder-${DdForwarderVersion}.zip"
827
- - { DdForwarderVersion: !FindInMap [Constants, DdForwarder, Version] }
827
+ - {DdForwarderVersion: !FindInMap [Constants, DdForwarder, Version]}
828
828
# The Forwarder's source code is too big to fit the inline code size limit for CloudFormation. In most of AWS
829
829
# partitions and regions, the Forwarder is able to load its source code from a Lambda layer attached to it.
830
830
# In places where Datadog can't/doesn't yet publish Lambda layers, use another Lambda to copy the source code
0 commit comments