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 support for managing release pipeline folders and permissions #354

Open
ajhall opened this issue Apr 5, 2021 · 1 comment
Open

Add support for managing release pipeline folders and permissions #354

ajhall opened this issue Apr 5, 2021 · 1 comment

Comments

@ajhall
Copy link

ajhall commented Apr 5, 2021

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

I'd like to use Terraform to manage release pipeline folders. We often create an empty release folder, then assign permissions to that folder so a specific team can manage its contents.

I'd also like to be able to set permissions on those folders, similar to the existing azuredevops_build_definition_permissions resource, but applicable to release pipelines and folders.

New or Affected Resource(s)

  • azuredevops_release_definition_folder (new)
  • azuredevops_release_definition_permissions (new)

Potential Terraform Configuration

resource "azuredevops_release_definition_folder" "folder" {
  project_id = azuredevops_project.project.id
  path       = "\\ExampleFolder"
}

resource "azuredevops_release_definition_permissions" "folder" {
  project_id  = azuredevops_project.project.id
  principal   = data.azuredevops_group.project-readers.id

  path        = azuredevops_release_definition_folder.folder

  permissions = {
    ViewReleaseDefinition        = "Allow"
    EditReleaseDefinition        = "Allow"
    DeleteReleaseDefinition      = "Allow"
    ManageReleaseApprovers       = "Allow"
    ManageReleases               = "Allow"
    ViewReleases                 = "Allow"
    CreateReleases               = "Allow"
    EditReleaseEnvironment       = "Allow"
    DeleteReleaseEnvironment     = "Allow"
    AdministerReleasePermissions = "Allow"
    DeleteReleases               = "Allow"
    ManageDeployments            = "Allow"
    ManageReleaseSettings        = "Allow"
    ManageTaskHubExtension       = "Allow"
  }
}

References

@GorkaRC
Copy link

GorkaRC commented Apr 24, 2023

Hi everyone,

Does anyone know if release permissions will be possible to manage through the terraform module, like build permissions?

Is there any news on this topic?

Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants