Back to Serverless

AWS - Deploy List

docs/sf/providers/aws/cli-reference/deploy-list.md

4.29.01.4 KB
Original Source
<!-- title: Serverless Framework Commands - AWS Lambda - Deploy List description: List your previous CloudFormation deployments short_title: Commands - Deploy List keywords: [ 'Serverless', 'Framework', 'AWS', 'Lambda', 'Deploy List', 'Serverless AWS Lambda Commands', 'AWS Lambda Deployment List', 'Serverless Framework CLI', 'Serverless Deploy List', ] --> <!-- DOCS-SITE-LINK:START automatically generated -->

Read this on the main serverless docs site

<!-- DOCS-SITE-LINK:END -->

AWS - Deploy List

The sls deploy list [functions] command will list information about your deployments.

You can either see all available deployments in your S3 deployment bucket by running serverless deploy list or you can see the deployed functions by running serverless deploy list functions.

The displayed information is useful when rolling back a deployment or function via serverless rollback.

Options

  • --stage or -s The stage in your service that you want to deploy to.
  • --region or -r The region in that stage that you want to deploy to.
  • --aws-profile The AWS profile you want to use.

Examples

List existing deploys

bash
serverless deploy list

List deployed functions and their versions

bash
serverless deploy list functions