microsoft / terraform-provider-azuredevops

Terraform Azure DevOps provider
https://www.terraform.io/docs/providers/azuredevops/
MIT License
384 stars 274 forks source link

Searchable Branches #891

Open przemekhys opened 1 year ago

przemekhys commented 1 year ago

I would love to see the ability to add Searchable Branchess using terraform

Community Note

Description

New or Affected Resource(s)

Potential Terraform Configuration

resource "azuredevops_git_repository" "example" {
  project_id     = azuredevops_project.example.id
  name           = "Example Git Repository"
  default_branch = "refs/heads/main"
  initialization {
    init_type = "Clean"
  }
  searchable_branches = [
      "main",
      "int",
      "prd",
    ]
}

References

SOLDIERz commented 2 weeks ago

@xuzhang3 Will this feature come anytime soon? Would be very interested in it. :-)

xuzhang3 commented 1 week ago

@OLDIERz I am confused about this new feature? Can you be more specific?

baterja commented 17 minutes ago

@xuzhang3 I think it's about being able to set this: https://praveenkumarsreeram.com/wp-content/uploads/2022/10/6.azure-devops-tips-and-tricks-16-how-to-search-for-code-in-branches-using-code-search-extension-searchable-branches.png?w=1024