AWS SAM CLI adds AWS CloudFormation Language Extensions support to accelerate local serverless development

Published
May 18, 2026
https://aws.amazon.com/about-aws/whats-new/2026/05/aws-sam-cli-cloudformation/

AWS SAM CLI

AWS SAM CLI now supports AWS CloudFormation Language Extensions, enabling you to reduce duplication in your infrastructure as code (IaC) templates while retaining the full local development workflow. This accelerates your serverless development by letting you define resources once and iterate locally without waiting for cloud deployments.

Developers frequently need to define multiple similar resources, such as Lambda functions, DynamoDB tables, or SNS topics, from a single template definition. This release allows SAM CLI to process templates that use CloudFormation Language Extensions, allowing you to define your resources once and test them locally across all SAM CLI commands, catching errors before deploying.

What to do

  • Download or update SAM CLI to the latest version.
  • Add the AWS::LanguageExtensions transform to your SAM template.
  • Use Fn::ForEach to generate multiple resources from a single definition.
  • Use SAM CLI commands including sam build, sam local invoke, sam sync, sam local start-api, and sam validate.

To learn more, visit the SAM CLI developer guide and launch blog post.




If you need further guidance on AWS, our experts are available at AWS@westloop.io. You may also reach us by submitting the Contact Us form.

Follow our blog

Get the latest insights and advice on AWS services from our experts.

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.