Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
provider "azuredevops" {
version = ">= 0.0.1"
}
resource "azuredevops_project" "tf-example" {
project_name = "tf-example"
description = "Project deployed using Terraform"
version_control = "git"
visibility = "private"
work_item_template = "Agile"
}
resource "azuredevops_user_entitlement" "tf-user" {
principal_name = "einbenutzer@mohitgoyal.co"
account_license_type = "stakeholder"
}
resource "azuredevops_group" "tf-group" {
scope = azuredevops_project.tf-example.id
display_name = "Tf test group"
description = "This group is created using terraform"
}
resource "azuredevops_group_membership" "tf-group-membership" {
group = azuredevops_group.tf-group.descriptor
members = [
azuredevops_user_entitlement.tf-user.descriptor
]
mode = "add"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.