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
{
"errorType": "Error",
"errorMessage": "Command failed: /opt/awscli/aws --version\n/opt/awscli/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory\n",
"trace": [
"Error: Command failed: /opt/awscli/aws --version",
"/opt/awscli/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory",
"",
" at checkExecSyncError (child_process.js:635:11)",
" at execSync (child_process.js:671:15)",
" at Runtime.handler (/var/task/index.js:15:19)",
" at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]
}
Environment
CDK CLI Version : "@aws-cdk/core": "1.96.0"
Framework Version:
Node.js Version:
OS :
Language (Version): TypeScript (4.2.3)
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
In the near future, I am planing to align aws-samples/aws-lambda-layer-awscli with @aws-cdk/lambda-layer-awscli so we can simply deploy or own awscli lambda layer from @aws-cdk/lambda-layer-awscli or simply customize it by editing the Dockerfile.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Reproduction Steps
Follow the instruction in document page to import module @aws-cdk/lambda-layer-awscli
https://docs.aws.amazon.com/cdk/api/latest/docs/lambda-layer-awscli-readme.html
While I invoke the lambda function test in the AWS Management console, return error.
What did you expect to happen?
It should return the aws cli version.
I just done my research and I think this module should work in nodejs 12 runtime.
aws-samples/aws-lambda-layer-awscli#5 (comment)
What actually happened?
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: