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

Adjust Host and Hosts Consumption Pattern #32

Open
ctjnkns opened this issue Jan 13, 2024 · 0 comments
Open

Adjust Host and Hosts Consumption Pattern #32

ctjnkns opened this issue Jan 13, 2024 · 0 comments

Comments

@ctjnkns
Copy link
Owner

ctjnkns commented Jan 13, 2024

The Hosts data source: AWS has a pattern I like, where the thing data source returns the details of thing and the things data source returns only a set of IDs. Users who want "a thing" can get it thing via the singular data source, and users who want "all things" can get all of them by for_each-ing over the result of the plural data source. Add some filters (which can be implemented using the existing model) and you've got a really flexible consumption pattern for your users.

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