For a month or so, I have been learning AWS services, and now I need to do some basic things on an AWS elastic bean element through the command line. As far as I understand, the assembly instance has the aws elasticbeanstalk [command] and eb [command] commands .
When I run the eb status folder inside the application folder, I get a response in the form:
Environment details for: app-name
Application name: app-name
Region: us-east-1
Deployed Version: app-version
Environment ID: env-name
Platform: 64bit Amazon Linux ........
Tier: WebServer-Standard
CNAME: app-name.elasticbeanstalk.com
Updated: 2016-07-14 .......
Status: Ready
Health: Green
This tells me that eb init was executed for the application .
On the other hand, if I run:
aws elasticbeanstalk describe-application-versions
I get an error message:
Unable to locate credentials. You can configure credentials by running "aws configure".
In the current user's home folder there is a .aws directory with a credential file containing the string [profile] and aws_access_key_id and aws_secret_access_key are all configured.
, . EB cli AWS cli? ? aws cli? .
EDIT:
, , " ". - profile profile-name . ~/.aws/config ( ) [profile profile-name].