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

fix: enumlib: remove a scan-specific error message #1577

Merged
merged 1 commit into from
Aug 4, 2022

Conversation

craigfurman
Copy link
Contributor

Q A
πŸ› Bug fix? yes
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues n/a
❓ Documentation no

Description

Since AWS is the default cloud provider for driftctl scan, we give
users a hint on how to configure different providers with --to if
there is an error authenticating with AWS - since they might not have
even intended to use AWS in the first place.

Now that this functionality is inside the enumeration library, with
consumers other than driftctl scan, we remove this hint from the lower
layer and re-add it for the scan command only, to avoid confusing
non-driftctl users.

Since AWS is the default cloud provider for `driftctl scan`, we give
users a hint on how to configure different providers with `--to` if
there is an error authenticating with AWS - since they might not have
even intended to use AWS in the first place.

Now that this functionality is inside the enumeration library, with
consumers other than `driftctl scan`, we remove this hint from the lower
layer and re-add it for the scan command only, to avoid confusing
non-driftctl users.
@craigfurman craigfurman requested a review from a team as a code owner August 4, 2022 13:56
@craigfurman craigfurman requested review from moadibfr and removed request for a team August 4, 2022 13:56
@craigfurman craigfurman merged commit f2a173f into main Aug 4, 2022
@craigfurman craigfurman deleted the fix/rm-consumer-specific-errmsg branch August 4, 2022 14:00
@eliecharra eliecharra added the kind/maintenance Refactoring or changes to the workspace label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/maintenance Refactoring or changes to the workspace
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants