Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Elastic Beanstalk : the command eb list shows no environments

I am using Elastic Beanstalk and I have created 3 different environments. I used awsebcli. All of a sudden the command eb list doesn't show me my enviroments because of which I am unable to deploy the environment. The error I am getting is ERROR: This branch does not have a default environment. You must either specify an environment by typing "eb status my-env-name" or set a default environment by typing "eb use my-env-name". I tried eb status 'my-env-name', again I got an error : ERROR: The environment name 'my-env-name' could not be found. In short: I am unable to use any eb command.

like image 907
Ash Singh Avatar asked Mar 06 '17 01:03

Ash Singh


1 Answers

Did you forgot to run eb create --single after eb init?

This command creates a new environment. See EB CLI Command Reference »

like image 144
naXa Avatar answered Sep 19 '22 00:09

naXa