Skip to content

Bug: x86_64 Lambda layers uses the wrong name #5227

Closed
@sthulb

Description

@sthulb

Expected Behaviour

AWS Lambda layers for the x86_64 architecture are currently mislabeled as "x86". This naming inconsistency may lead to confusion and potential compatibility issues. We need to update our layer naming convention to accurately reflect the x86_64 architecture.

Current Behaviour

Layers are marked as "x86" using the following ARN:

arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86:1

Code snippet

N/A

Possible Solution

Rename layers to arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-{python_version}-x86_64:1. This forces the deployment of this new x86_64 layer name that exists in version 1 as x86.

Steps to Reproduce

Read the docs

Powertools for AWS Lambda (Python) version

latest

AWS Lambda function runtime

3.8

Packaging format used

Lambda Layers

Debugging logs

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglayersLambda Layers work

Type

No type

Projects

Status

Shipped

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions