You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
The Hosts data source: AWS has a pattern I like, where the
thing
data source returns the details ofthing
and thethings
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.The text was updated successfully, but these errors were encountered: