EB CLI 2 Commands
This version of the EB CLI and its documentation have been replaced with version 3. Version 3 has different commands and is not backwards compatible with version 2. For information on the new version, see The Elastic Beanstalk Command Line Interface (EB CLI).
You can use the EB command line interface to perform a wide variety of operations.
Eb stores environment settings in the
file for the repository. It is designed to read only from local files. When you run
eb update, Elastic Beanstalk reads the
.elasticbeanstalk/optionsettings file and provides its contents as
parameters to the
You can use a configuration file in an
to configure some of the same settings that are in an
.elasticbeanstalk/optionsettings file. However, the values for the
.elasticbeanstalk/optionsettings will take precedence over
.ebextensions/*.conf if the settings are configured in both.
Additionally, any option setting that is specified using the API, including through eb, cannot
later be changed in an environment using
When you run
eb branch, Elastic Beanstalk will either add a section to the values in
.elasticbeanstalk/optionsettings or create a new one for a new
environment. The command does not affect any running environments.
To view your current settings, run
eb status --verbose. You might also want to
use eb in conjunction with the Elastic Beanstalk console to get a complete picture of your applications and