We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lambda layer to be added and output in CDK synthesized template under Layers for type AWS::Lambda::Function
AWS::Lambda::Function
Missing Lambda layer when Lambda runtime is provided.al2023
provided.al2023
"datadog-cdk-constructs-v2": "1.14.1"
1.7.4
const lambda = new lambda.Function(this, id, { runtime: aws_lambda.Runtime.PROVIDED_AL2023, architecture: aws_lambda.Architecture.ARM_64, ... }) const datadog = new Datadog(this, 'Datadog', { ... }) datadog.addLambdaFunctions([lambda])
cdk synth
cdk.out/*.template.json
Add "provided.al2023": RuntimeType.CUSTOM to runtimeLookup in constants.ts
"provided.al2023": RuntimeType.CUSTOM
runtimeLookup
constants.ts
See - https://github.com/DataDog/datadog-cdk-constructs/blob/main/src/constants.ts#L51-L72
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
Lambda layer to be added and output in CDK synthesized template under Layers for type
AWS::Lambda::Function
Actual Behavior
Missing Lambda layer when Lambda runtime is
provided.al2023
Steps to Reproduce the Problem
"datadog-cdk-constructs-v2": "1.14.1"
(NOTE: Looks to have been an issue since version >=1.7.4
)cdk synth
cdk.out/*.template.json
) to find the Lambda is missing layerSpecifications
Add
"provided.al2023": RuntimeType.CUSTOM
toruntimeLookup
inconstants.ts
See - https://github.com/DataDog/datadog-cdk-constructs/blob/main/src/constants.ts#L51-L72
References
The text was updated successfully, but these errors were encountered: