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 want to use the the IoT SDK within a lambda but I'm getting the following error message
AWS CRT binary not present in any of the following locations:\n\t/var/bin/linux-arm64-glibc/aws-crt-nodejs.node
Setup:
"aws-crt": "^1.26.2",
"aws-iot-device-sdk-v2": "^1.21.3",
Some issues mentioned to use a layer. Some points I found out so far:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I want to use the the IoT SDK within a lambda but I'm getting the following error message
AWS CRT binary not present in any of the following locations:\n\t/var/bin/linux-arm64-glibc/aws-crt-nodejs.node
Setup:
"aws-crt": "^1.26.2",
"aws-iot-device-sdk-v2": "^1.21.3",
Some issues mentioned to use a layer. Some points I found out so far:
AWS_CRT_NODEJS_BINARY_RELATIVE_PATH
AWS_CRT_NODEJS_BINARY_ABSOLUTE_PATH
Approach: So what approach looks promising for me but still fails
And set the the env variable
AWS_CRT_NODEJS_BINARY_ABSOLUTE_PATH = "/opt/bin/linux-arm64-glibc/aws-crt-nodejs.node"
Testing the layer:
Now I got the message that the module cannot be found. What I have done wrong or what I missed?
Beta Was this translation helpful? Give feedback.
All reactions