You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use AWS Signer for my Lambda functions, when trying to deploy the collector layer from the community ARNs. (e.g. arn:aws:lambda:us-east-1:184161586896:layer:opentelemetry-collector-arm64-0_11_0:1) I get the following 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-east-1:184161586896:layer:opentelemetry-collector-arm64-0_11_0:1. (Service: Lambda, Status Code: 400, Request ID: 3fc2323f-c669-4b01-b55f-743efb7550d8, Extended Request ID: null)" (RequestToken: 085537f1-e14d-444a-e4d3-9b5859b39822, HandlerErrorCode: InvalidRequest)
This makes sense as the layer is not signed by my AWS Signer profile.
Workaround
Ultimately, I was able to solve this by downloading the Github Release source code and running make build (make publish-layer will not sign my layer, so this was not helpful.) Once built and the contents put into the appropriate zip file, I used terraform to create my signed layer:
Problem
I use AWS Signer for my Lambda functions, when trying to deploy the collector layer from the community ARNs. (e.g. arn:aws:lambda:us-east-1:184161586896:layer:opentelemetry-collector-arm64-0_11_0:1) I get the following error:
This makes sense as the layer is not signed by my AWS Signer profile.
Workaround
Ultimately, I was able to solve this by downloading the Github Release source code and running
make build
(make publish-layer
will not sign my layer, so this was not helpful.) Once built and the contents put into the appropriate zip file, I used terraform to create my signed layer:I could then inject the arn into my lambda function configuration in terraform using a variable:
then in my lambda function module:
I am not sure this is the optimal way to implement this and I am open to simpler ways to implement this.
Proposal
Assuming this is the optimal solution, the following would have helped me.
.zip
files of the layer as part of the GitHub release so I do not have to build my own collector binary.The text was updated successfully, but these errors were encountered: