AWS Elastic Beanstalk
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

eb list

Description

Lists all environments in the current application or all environments in all applications, as specified by the --all option.

If the root directory contains a platform.yaml file specifying a custom platform, this command also lists the builder environments.

Syntax

eb list

Options

Name

Description

-a

or

--all

Lists all environments from all applications.

-v

or

--verbose

Provides more detailed information about all environments, including instances.

Common options

Output

If successful, the command returns a list of environment names in which your current environment is marked with an asterisk (*).

Example 1

The following example lists your environments and indicates that tmp-dev is your default environment.

$ eb list * tmp-dev

Example 2

The following example lists your environments with additional details.

$ eb list --verbose Region: us-west-2 Application: tmp Environments: 1 * tmp-dev : ['i-c7ee492d']