[SOLVED] Code signed layer error

0

Trying to get code signing up and running on my Lambda functions. I have created a CSC and using the same AWS Signer profile I signed a layer zip stored in S3. My lambda function is configured using Node 14.x, as is my layer.

My layer zip structure is as follows:
/META_INF/aws_signer_signature_v1.0.SF
/nodejs/node_modules/...

When I try to add the signed layer version to the function I get the error:
"Lambda cannot deploy the function. The function or layer might be signed using a signature that the client is not configured to accept. Check the provided signature for arn:aws:lambda:us-west-2:ACCOUNT_ID:layer:LAYER_NAME:LAYER_VERSION."

I don't see why this would be occurring since everything has been signed with the same signing profile. Has anyone else gotten this to work? Is there something I have missed to configure?

Edited by: deif-zhost on May 31, 2021 10:06 AM

已提問 3 年前檢視次數 738 次
1 個回答
0

I used the signing profile arn instead of the signing profile VERSION arn

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南