user2040074
user2040074

Reputation: 644

Wipe out EB init config

Is there a way to wipe out a previous 'eb init' config? The previous config has resources that are non-existent on an earlier AWS account. I am using a new AWS account and want to initialize an existent Beanstalk environment.

Thanks..

Upvotes: 15

Views: 5866

Answers (2)

Matt Sugden
Matt Sugden

Reputation: 874

You can always add --help to a command to see the options available to you. Eg. eb init --help. This reveals that you can use the -i switch to force interactive mode. This will force a re-asking of all the EB options.

So just type eb init -i an you're done!

Upvotes: 27

Bill Dhimitri
Bill Dhimitri

Reputation: 204

Go to the directory of your project (the directory where you originally ran the "eb init" command). Delete the .elasticbeanstalk directory. You can now run "eb init" again, and it will prompt you for your configuration information.

Upvotes: 16

Related Questions