Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created September 11, 2020 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/fad05b8bc18b70bfca5bda9795c9da17 to your computer and use it in GitHub Desktop.
Save goyalmohit/fad05b8bc18b70bfca5bda9795c9da17 to your computer and use it in GitHub Desktop.
# Partially complete blocks below - will not work in isolation
data "azuredevops_group" "group" {
project_id = azuredevops_project.tf-example.id
name = "Readers"
}
resource "azuredevops_group_membership" "membership" {
group = data.azuredevops_group.group.descriptor
members = [
azuredevops_user_entitlement.tf-user.descriptor
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment