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

Add new dbtcloud_users datasource to get all users #277

Merged
merged 4 commits into from
Jul 17, 2024

Conversation

b-per
Copy link
Collaborator

@b-per b-per commented Jul 17, 2024

Today, some people want to set internal notifications based on email addresses.

One of the ways to handle it is to get the id of a user with the dbtcloud_user datasource but it fails if the email doesn't exist.

This new data source returns all users so people can do further filtering in HCL if need be. It handles pagination for people with more than 100 users.

@b-per
Copy link
Collaborator Author

b-per commented Jul 17, 2024

CI passed 🚀

@b-per b-per merged commit 8f6f084 into main Jul 17, 2024
9 checks passed
@b-per b-per deleted the feature/datasource-all-users branch July 17, 2024 09:19
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.

1 participant