Invalid token in aws/credentials file report: "Unable to determine default account and/or region"
See original GitHub issueEnvironment ➜ booster_projects nvm use node Now using node v13.3.0 (npm v6.13.1) ➜ booster_projects npm install -u -g @theagilemonkeys/booster-cli /Users/gonzalogarcia/.nvm/versions/node/v13.3.0/bin/boost -> /Users/gonzalogarcia/.nvm/versions/node/v13.3.0/lib/node_modules/@theagilemonkeys/booster-cli/bin/run
- @theagilemonkeys/booster-cli@0.0.43
updated 10 packages in 31.947s
➜ booster_projects boost -v
@theagilemonkeys/booster-cli/0.0.43 darwin-x64 node-v13.3.0
Steps to reproduce it:
- Create a new project
- Update the credentials file with an invalid token
Expected result
A meaningful message like this one: `➜ testing serverless deploy Serverless: Packaging service…
Serverless Error ---------------------------------------
ServerlessError: The security token included in the request is invalid.`
Result
Booster error message about the default account
is fine but Serverless message points me to the token issue which is the main issue:
➜ issues boost deploy ℹ boost deploy 🚀 ✖ Unable to determine default account and/or region
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top GitHub Comments
Ok, I just opened #94. You can close this one. Thanks.
I think that it doesn’t help much the user to see the stack trace, we can remove it