sincecutoff.com
← all changes

sam local processing of AWS::LanguageExtensions is opt-in

Introduced 2026-05-22 · score 0.92

HOW TO USE IT

When a template uses `AWS::LanguageExtensions` and you want SAM to process it locally, pass `--language-extensions` on that command; local processing is off by default and the choice applies per invocation.

sam local invoke <FunctionLogicalId> --language-extensions

WHY THIS HELPS

When locally processing a template that uses AWS::LanguageExtensions, enable local processing if you need it.

REQUIREMENTS AND LIMITATIONS

  • Version: v1.161.0
  • --language-extensions: Opts in to local processing of `AWS::LanguageExtensions` for this command invocation.
  • <FunctionLogicalId>: Function resource logical ID to invoke; required when the template defines multiple functions.
  • Prerequisite: Install the AWS SAM CLI and meet the AWS SAM prerequisites to use `sam local invoke`.
  • Prerequisite: The template must list `AWS::LanguageExtensions` in `Transform` before `AWS::Serverless-2016-10-31` for SAM to detect and locally expand it.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card