Skip to content

public.ecr.aws/datadog/lambda-extension only has ARM images for versions >=11 #49

Description

@someboredkiddo

We currently use the datadog-lambda-extension to monitor our containerized x86 architected lambdas (base image is FROM amazon/aws-lambda-python:3.8)

We have been successfully following installation instructions to import the lambda extension into our Docker image from public.ecr.aws/datadog/lambda-extension

COPY --from=public.ecr.aws/datadog/lambda-extension:<TAG> /opt/extensions/ /opt/extensions

However, trying to use any lambda-extension version >= 11 currently results in the lambda failing with the below error:
Error: fork/exec /opt/extensions/datadog-agent: exec format error Extension.LaunchError

Running docker inspect on the lambda-extension images in public.ecr.aws/datadog/lambda-extension reveals that lambda-extension versions 1-10 are amd64 (x86) while versions >=11 has changed to arm64. Guessing this architecture incompatibility between the extension and our lambda is causing the error.

Is there a ecr repo where we can pull x86 compatible lambda-extension images? Also recommend fixing the architecture tags for the public ecr repo.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions