How do you tell if a shared layer works on ARM?

0

Is there a way to take a shared layer from the catalog like this one:

https://serverlessrepo.aws.amazon.com/applications/us-east-1/145266761615/image-magick-lambda-layer

and tell from the catalog if it's for arm64, x86_64, or both?

profile picture
wz2b
asked a year ago208 views
2 Answers
0
Accepted Answer

You can download the code for a layer that you own by using the GetLayerVersion API. With the AWS CLI, do aws lambda get-layer-version --layer-name LayerName --version-number 1 and in the response you'll see a Location field which is where you can retrieve the layer code from.

profile pictureAWS
EXPERT
answered a year ago
0

I figured out that the answer for this particular layer was no, but I never really figured out how to grab the layer as a .tar.gz or .zip and unpack it, which is what I wanted.

profile picture
wz2b
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions