Comments (2)
Thank you for submitting an issue!
Basti has a mechanism for matching errors and enhancing their error messages. The "Unexpected error: " part of the error message you received means that the SSO error was not matched and the original error message (from AWS SDK) was shown.
To cover the error with enhanced handling, you have to:
- Identify the AWS error and wrap it with a Basti error in all AWS Clients. (example)
- Create a
detailProvider
for the new error. Detail Providers generate error details (messaged) for the known errors: (example)
from basti.
I'm sorry, but I'm closing this issue to clean up a bit. The existing error message provides enough information for the user to solve the problem. It literally tells the solution 🙂
To refresh this SSO session run aws sso login with the corresponding profile.
from basti.
Related Issues (20)
- Document required permissions to run basti init HOT 2
- assignPublicIp to be false HOT 1
- First-class EC2 support
- Bug report, Feature request and PR templates HOT 1
- AWS CDK Support HOT 26
- Instance randomly not connecting to SSM HOT 15
- Add custom tags to instance and related resources HOT 10
- Optionally setting instance family of EC2 instance HOT 6
- basti: Permissions too broad HOT 1
- basti: Store configuration in ~/.basti HOT 2
- basti-cdk: Instance has insufficient permissions HOT 1
- basti: Add option to save logs HOT 2
- Monorepo versioning HOT 2
- Please specify a preferred security contact HOT 2
- homebrew formula to use `brew install basti`
- Documentation site
- Default Encryption for ec2 instances volumes HOT 2
- shell completion issue HOT 6
- mismatched arch session-manager-plugin got bundled HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from basti.