Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elastic Beanstalk CLI ERROR: This directory has not been set up with the EB CLI You must first run "eb init"

I am trying to connect to my elastic beanstalk application that I created in the web browser console over CLI but every time I try to do anything it says I have not set up the directory with EB CLI and I must first run 'eb init'. However, I do not want to create a new application I simply want to access the old one over terminal/cmd so I can deploy my nodejs to it. How can I access it over CLI without creating a new application with 'eb init'?

Thanks

like image 669
s_kirkiles Avatar asked Jan 04 '23 15:01

s_kirkiles


1 Answers

In 'eb init', you can choose an existing application/environment. Choose your existing app/env and it will download the settings from that and stores it in .elasticbeanstalk/config.yml file. You can double check that file and do your future 'eb deploy's.

like image 174
Bijan Hoomand Avatar answered Jan 13 '23 11:01

Bijan Hoomand