Since lambdas now support both the x86_64 and arm64 architectures there now exist two different lambda layers for the extension:
Datadog-Extension and Datadog-Extension-ARM
The macro should read the architecture of the lambda function and add the correct layer
Actual Behavior
Only the x86_64 layer is suported
Steps to Reproduce the Problem
create a cloudformation stack with a lambda runnin on Graviton2
configure extensionLayerVersion: 11
deploy
invoke lambda
Specifications
For the Datadog Serverless Macro:
Deployment method and version (CloudFormation, SAM, CDK): CDK
Datadog CloudFormation Macro version: 0.2.1
Lambda function runtime (Python 3.7, Node 10, etc.): Node 14
Expected Behavior
Since lambdas now support both the x86_64 and arm64 architectures there now exist two different lambda layers for the extension:
Datadog-Extension
andDatadog-Extension-ARM
The macro should read the architecture of the lambda function and add the correct layer
Actual Behavior
Only the x86_64 layer is suported
Steps to Reproduce the Problem
extensionLayerVersion: 11
Specifications
For the Datadog Serverless Macro: