terraform-provider-azuredevops icon indicating copy to clipboard operation
terraform-provider-azuredevops copied to clipboard

[New Resource] Release Definition Resource

Open straubt1 opened this issue 4 years ago • 2 comments

Description

Currently the ability to create .yml based build pipelines exists, however there is no resource to create release pipelines.

New or Affected Resource(s)

  • azuredevops_release_definition

Potential Terraform Configuration

azuredevops_release_definition

resource "azuredevops_release_definition" "release" {
  project_id = azuredevops_project.project.id
  name       = "Sample Release Definition"

  ci_trigger {
    use_yaml = true
  }

  repository {
    repo_type   = "TfsGit"
    repo_id     = azuredevops_git_repository.repository.id
    branch_name = azuredevops_git_repository.repository.default_branch
    yml_path    = "azure-pipelines.yml"
  }
  ...
}

References

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

straubt1 avatar Jun 21 '20 16:06 straubt1

Hi 👋 I'm interested in working on this. I see however a draft PR https://github.com/microsoft/terraform-provider-azuredevops/pull/178 already. Should I work on it / join forces / leave it as it is?:)

marekaf avatar Jan 30 '21 14:01 marekaf

It's a basic function, I can't believe I don't have it

federicomidaglia avatar Dec 02 '21 02:12 federicomidaglia

At least something IaC for releases is highly desirable. +1

movergan avatar Nov 02 '22 13:11 movergan