【AWS】Beanstalkでデプロイ時 ERROR: The config profile (default) could not be found

現象

$ eb deploy {environment name}
ERROR: The config profile (default) could not be found

解決方法

$ mkdir ~/.aws
$ vi ~/.aws/config

configファイルへ下記のように記載.

[profile eb-cli]
aws_access_key_id = xxx
aws_secret_access_key = xxx