|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).|
Updates the specified environment by reading the
.elasticbeanstalk/optionsettings. (Setting values in
.elasticbeanstalk/optionsettings take precedence over the values
specified for the same settings specified in
the settings are configured in both places.) Use this operation after making changes to your
settings (for example, via
The environment you want to update.
Default: Current setting
For more information, see Eb Common Options.
If successful, the command returns the status of the update operation.
The following example request updates the environment.
eb updateUpdate environment? [y/n]: y Updating environment "MyApp-env". This may take a few minutes. 2014-05-15 17:10:34 INFO Updating environment MyApp-env's configuration settings. 2014-05-15 17:11:12 INFO Successfully deployed new configuration to en vironment. 2014-05-15 17:11:12 INFO Environment update completed successfully. Update of environment "MyApp-env" has completed.