pX0r
pX0r

Reputation: 1570

eb init - ElasticBeanstalk application environment not showing up in the list of choices

I have created an application and a corresponsing environment from AWS console.

I ran: eb init

But the ElasticBeanstalk application environment is not showing up in the list of choices.

Can someone help / point me in the right direction to help resovle this issue ?

Upvotes: 2

Views: 767

Answers (1)

littleforest
littleforest

Reputation: 2245

A couple things you can try:

  1. On your local computer check ~/.aws/config and make sure you have the correct credentials set up. Your credentials should look like this:
  [profile my-profile-name]
  aws_access_key_id = AKBCDEFG1234567890
  aws_secret_access_key = abce123456ghijklmnop
  region = us-east-1
  1. Run the init command with the -i flag to make sure you enter the interactive mode, and pass the profile name:
  eb init -i --profile=my-profile-name

Upvotes: 4

Related Questions