~/.aws/credentials
と ~/.aws/config
が期待値である必要がある[dev]
と [profile dev]
があると重複エラーが出るので片方消す必要がある出たエラーは以下の通り
Unable to resolve AWS account to use. It must be either configured when you define your CDK or through the environment
直訳
エラーでググると出てくるのが
解決アプローチ
--verbose
オプションを使う