Skip to content

Latest commit

 

History

History
66 lines (45 loc) · 1.89 KB

feed_permission.html.markdown

File metadata and controls

66 lines (45 loc) · 1.89 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_feed_permission
Manages creation of the Feed Permission within Azure DevOps organization.

azuredevops_feed_permission

Manages creation of the Feed Permission within Azure DevOps organization.

Example Usage

Create Feed Permission

resource "azuredevops_project" "example" {
  name = "Example Project"
}

resource "azuredevops_group" "example" {
  scope        = azuredevops_project.example.id
  display_name = "Example group"
  description  = "Example description"
}

resource "azuredevops_feed" "example" {
  name = "examplefeed"
}

resource "azuredevops_feed_permission" "permission" {
  feed_id             = azuredevops_feed.example.id
  role                = "reader"
  identity_descriptor = azuredevops_group.example.descriptor
}

Argument Reference

The following arguments are supported:

  • feed_id - (Required) The ID of the Feed.

  • identity_descriptor - (Required) The Descriptor of identity you want to assign a role.

  • role - (Required) The role to be assigned, possible values : reader, contributor, collaborator, administrator

  • project_id - (Optional) The ID of the Project Feed is created in. If not specified, feed will be created at the organization level.

  • display_name - (Optional) The display name of the assignment

Attributes Reference

The following attributes are exported:

  • feed_id - The ID of the Feed.
  • identity_descriptor - The Descriptor of the identity.
  • identity_id - The ID of the identity.
  • role - The assigned role
  • project_id - The ID of the Project Feed is created in (if one exists).
  • display_name - The display name of the assignment (if one exists).

Relevant Links