-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch more specific exceptions in assume role provider
To repro, call an aws command with an explicit ``--region`` and a non-existent profile: aws ec2 describe-instances --region us-east-1 --profile does-not-exist The issue was that the assume role provider was catching too general of an exception so the profile does not exist error was not being propogated. There's also a bug in botocore with how we're handling failures for lazily registered components. This is why we're seeing the "Unknown component" bug. This will require a separate PR to botocore.
- Loading branch information
Showing
2 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters