Repository navigation
Support customer-managed runtimes - #511
Merged
Merged
Conversation
mnapoli
marked this pull request as draft
November 18, 2026 19:58
mnapoli
marked this pull request as ready for review
November 18, 2026 20:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AWS Lambda now supports customer-managed runtimes. A function uses one by setting
Runtime: customand aRuntimeConfigwith the runtime ARN and an alias name.This lets
runtime(atprovideror function level) take the ARN of a runtime alias (e.g.arn:aws:lambda:eu-west-3:649250387802:runtime/php-85/alias/4):It compiles to:
A runtime ARN without an alias is rejected by the schema, because CloudFormation requires both.
invoke localexplains that it doesn't support these runtimes instead of trying to run a Docker image named after the ARN. Layers'compatibleRuntimeskeep the list of AWS runtime identifiers.Tested with a real deployment in eu-west-3 (
deploy, invoke,deploy function,remove) with a runtime from the same account.