A Serverless Framework v3 plugin that overrides the default AWS Lambda runtime schema, allowing users to continue using newer or custom runtimes with Serverless v3 (which is unmaintained). Current stable version: 1.0.0. The plugin bakes in recent runtimes and supports manual override via custom.awsLambdaRuntimeSchemaOverride. Unlike workarounds that disable config validation, this plugin preserves configValidationMode: error. Note: sls invoke local is not affected.
npm install serverless-v3-aws-lambda-runtime-schema-overrideNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows installation, plugin registration, and optional runtime override in serverless.yml.
Use sls invoke (remote) for custom runtimes, or update Serverless Framework manually for local invocations.
Ensure serverless version satisfies peer dependency (^3.38). Use npx serverless --version to check.
Migrate to Serverless Framework v4 and find equivalent runtime override solution.
Only use runtimes officially supported by AWS Lambda. See AWS documentation for current list.
Ensure the runtime you specify is actually supported by AWS Lambda in your region.
Install and configure this plugin to override the schema.
Run npm install --save-dev serverless-v3-aws-lambda-runtime-schema-override
Update Serverless Framework to ^3.38 and ensure plugin is listed in plugins array.