Updating Applications - Amazon Serverless Application Repository
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Updating Applications

After you've deployed an application from the Amazon Serverless Application Repository, you might want to update it. For example, you might want to change an application setting, or you might want to update the application to the latest version that was published.

The following sections describe how to deploy a new version of an application by using either the Amazon Web Services Management Console or the Amazon CLI.

Updating Applications (Console)

To update an application that you previously deployed, use the same procedure as deploying a new application, and provide the same application name that you originally deployed it with. In particular, the Amazon Serverless Application Repository prepends serverlessrepo- to your application name. However, to deploy a new version of your application, you provide the original application name without serverlessrepo- prepended.

For example, if you deployed an application with the name MyApplication, the stack name would be serverlessrepo-MyApplication. To update that application, you would provide the name MyApplication again—do not specify the full stack name of serverlessrepo-MyApplication.

For all other application settings, you can either keep the values the same as the previous deployment, or provide new values.

Updating Applications (Amazon CLI)

To update an application that you previously deployed, use the same procedure as deploying a new application, and provide the same --stack-name that you originally deployed it with. In particular, Amazon Serverless Application Repository prepends serverlessrepo- to your stack name. However, to deploy a new version of your application, you provide the original stack name without serverlessrepo- prepended.

For example, if you deployed an application with the stack name MyApplication, the stack name that is created would be serverlessrepo-MyApplication. To update that application, you would provide the name MyApplication again—do not specify the full stack name of serverlessrepo-MyApplication.