Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) display more information about aws creds being used. #593

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

tphoney
Copy link
Contributor

@tphoney tphoney commented Oct 1, 2024

@tphoney tphoney force-pushed the more_info_in_explore branch 3 times, most recently from c63c1f0 to 989d410 Compare October 1, 2024 17:32
@dylanratcliffe
Copy link
Member

Can I get a preview of what this looks like? Either a copy-paste or an mp4?

@tphoney
Copy link
Contributor Author

tphoney commented Oct 2, 2024

Can I get a preview of what this looks like? Either a copy-paste or an mp4?

https://youtu.be/9od07D42qmo

Copy link
Member

@dylanratcliffe dylanratcliffe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay let's get this merged as it's a good improvement, but I still thing there is a fair bit we can do to improve UX i.e.

  • Fail silently if we can't open the browser
  • Why do we have empty lines between the messages in blue?
  • The blue messages don't really help us much. For example we get an error that it can't connect to a certain IP, this doesn't make a whole lot of sense, where did we configure that? The reason of course is that it couldn't find any local config so it defaulted to using in-AWS auth, which doesn't exist since we're not running in AWS, but this isn't show to the user well and will be confusing

@tphoney
Copy link
Contributor Author

tphoney commented Oct 2, 2024

Okay let's get this merged as it's a good improvement, but I still thing there is a fair bit we can do to improve UX i.e.

  • Fail silently if we can't open the browser
    fixed, following what we do on the tf commands, do you want them changed to ?
  • Why do we have empty lines between the messages in blue?
    fixed
  • The blue messages don't really help us much. For example we get an error that it can't connect to a certain IP, this doesn't make a whole lot of sense, where did we configure that? The reason of course is that it couldn't find any local config so it defaulted to using in-AWS auth, which doesn't exist since we're not running in AWS, but this isn't show to the user well and will be confusing
    the parsing of TF to get config, and the running of the config are in 2 differnent code bases.
    when passing the config we could pass through the file used by config to aws-source and then error better there.

@tphoney tphoney force-pushed the more_info_in_explore branch 3 times, most recently from 722410e to fd615d0 Compare October 2, 2024 11:36
@tphoney
Copy link
Contributor Author

tphoney commented Oct 2, 2024

@dylanratcliffe
Copy link
Member

Looks much nicer

@tphoney tphoney merged commit a04c489 into main Oct 3, 2024
10 checks passed
@tphoney tphoney deleted the more_info_in_explore branch October 3, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants