-
Notifications
You must be signed in to change notification settings - Fork 272
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
Data source for groups #483
Comments
My current workaround is to use a local that is built by json configuration (members) that do not appear to be a user (no @ character found). I then use that local data set to load each group using data azuredevops_group. The difference between this and data azuredevops_users is that this throws an exception resulting in a hard fail if a group isn't found. By comparison if users are not found then they are just skipped over.
|
@xuzhang3 this is a low hanging fruit and a feature what I wanted to implement for a long time. I've some code prepared already for this. I'll file a pull request for this till the end of the week. |
Community Note
Description
There is a data source for referencing existing users but not existing groups. The only data source is for referencing a single group which throws an exception if the group is not found.
I am using json data to refer to users and groups from which I want to configure things like permissions. This currently is difficult because there is no clean way to find matches between json data and groups.
New or Affected Resource(s)
New: data azuredevops_groups
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: