To initialize a Amazon Webservice Elastic Beanstalk environment you generally use the command:
$> eb init
But sometimes you need to reinitialize the environment, because you made a mistake or want to change the programming language or AWS region of the connected environment.
In these cases you can reinitialize Elastic Beanstalk Environment by the -i parameter:
$> eb init -i
The -i parameter forces the interactive mode so that you can reconfigure the region, application, programming language and version, SSH access and keypairs.
Further information:
Here you’ll get additional information about EB Command Line Interface (eb cli) and the init subcommand: