eb list - AWS Elastic Beanstalk

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']