threadheap / serverless-ide-vscode

Serverless IDE: Enhanced support for AWS SAM and CloudFormation in VS Code
https://serverless-ide.com/
195 stars 46 forks source link

Add support for the provided.al2023 runtime #220

Open Erniedb opened 5 months ago

Erniedb commented 5 months ago

GLIBC_2.28 not found

? INIT_START Runtime Version: provided:al2.v37 Runtime Version ARN: arn:aws:lambda:eu-west-1::runtime:bc2882fd0e085da713a4e150009e80c93e37aef25d53897e472ddda5ffbd589d

/var/task/bootstrap: /lib64/libc.so.6: version GLIBC_2.28' not found (required by /var/task/bootstrap) INIT_REPORT Init Duration: 5.03 ms Phase: init Status: error Error Type: Runtime.ExitError /var/task/bootstrap: /lib64/libc.so.6: versionGLIBC_2.28' not found (required by /var/task/bootstrap) INIT_REPORT Init Duration: 15.02 ms Phase: invoke Status: error Error Type: Runtime.ExitError START RequestId: b22efbc3-f5ca-4405-b454-53f412ad5c05 Error: Runtime exited with error: exit status 1 Runtime.ExitError

To work-around this we can use the "provided.al2023" runtime. This is currently not included as a supported runtime resulting in a linting issue in VSCode.