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

Flags to select auth methods for available to amazonka by default #961

Open
endgame opened this issue Oct 18, 2023 · 1 comment
Open

Flags to select auth methods for available to amazonka by default #961

endgame opened this issue Oct 18, 2023 · 1 comment

Comments

@endgame
Copy link
Collaborator

endgame commented Oct 18, 2023

By providing appropriate flags, we could toggle the dependency on amazonka-sts and amazonka-sso. This reduces the footprint when compiling things that just have to run on EC2 with a single instance role or whatever.

@endgame
Copy link
Collaborator Author

endgame commented Apr 17, 2024

http://wiki.haskell.org/Cabal/Developer-FAQ#Enabling_additional_features_via_Cabal_flags says:

Question: I like to let the user enable extended functionality using a Cabal flag. Is this the right way?

Answer: Certainly not. Since other packages can distinguish packages only according to their name and their version, it is not a good idea to allow different APIs for the same package version. Cumbersome as it is you have to move extra features to a separate package.

So either we'll need another approach, or will just have to abandon the idea.

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

No branches or pull requests

1 participant