eb init djangowebsite -r ap-southeast-1 -p python-3.4
You have not yet set up your credentials or your credentials are incorrect
You must provide your credentials.
(aws-access-id): ERROR: EOFError - EOF when reading a lin
According to https://confluence.atlassian.com/bitbucket/deploy-to-amazon-aws-875304040.html -> 'Add your AWS credentials to Bitbucket Pipelines' section. I followed the steps, and hit above Error.
As I can't find a non-interactive way to set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY to AWS EB Cli, I'm wondering how can this 'Deployment guide' works. ( create a private docker with AWS EB Cli installed might work, I'm still trying )
And the sample provided is different from what the 'Deployment guid' said ??? https://confluence.atlassian.com/bitbucket/deploy-to-amazon-aws-875304040.html
Temporary solved.
Add line, put the credential into '~/.aws/config' directly.
- echo -e '[profile eb-cli]\naws_access_key_id = ' $AWS_ACCESS_KEY_ID ' \naws_secret_access_key = ' $AWS_SECRET_ACCESS_KEY > ~/.aws/config
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.