New SAM PUBLISH Command Simplifies Publishing Applications to the AWS Serverless Application Repository

Posted on: Dec 21, 2018

You can now use the sam publish command to easily create an application or publish a new application version to the AWS Serverless Application Repository using the AWS Serverless Application Model (AWS SAM) Command Line Interface (CLI).

The AWS Serverless Application Repository is a managed repository for serverless applications that lets you and your teams deploy and share serverless architectures quickly. SAM CLI lets you locally build, test, debug, and publish serverless applications defined by SAM templates. Using the sam publish command, you can insert or update (also known as upsert) an application to the Serverless Application Repository using a single command.

Use the new AWS::ServerlessRepo::Application metadata key to define necessary application details such as application name, description, semantic version, and license information in your SAM template, and use the sam publish command to easily make applications or application updates available in the AWS Serverless Application Repository. To learn more, please visit the sam publish documentation. To get started with SAM CLI and build, test, debug, and publish serverless applications faster, visit the SAM product page.

The AWS Serverless Application Repository is available in the following regions: US East (Ohio), US East (N. Virginia), US West (N. California), US West (Oregon), Asia Pacific (Tokyo), Asia Pacific (Seoul), Asia Pacific (Mumbai), Asia Pacific (Singapore), Asia Pacific (Sydney), Canada (Central), EU (Frankfurt), EU (Ireland), EU (London), and South America (São Paulo) regions. AWS SAM is available in all regions where AWS Lambda is available.