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
The provider should include a resource that allows you to configure Repository Settings. We need the ability to either default Repository Settings for newly created Repositories or the ability to configure individual Repository Settings.
New or Affected Resource(s)
new resource "azuredevops_git_repository_settings"
Potential Terraform Configuration
resource "azuredevops_git_repository_settings" "repository_settings" {
project_id = azuredevops_project.project.id
repository_id = azuredevops_git_repository.repository.id # OR null to apply to all repositories in the project
settings {
Forks = "enabled"
CommitMentionLinking = "enabled"
CommitMentionWorkItemResolution = "enabled"
WorkItemTransitionPreferences = "enabled"
PermissionsMangement = "enabled"
StrictVoteMode = "disabled"
InherePRCreation = "enabled"
}
}
I cannot find these settings in the azure devops api. Can could someone help me with this. I would really like this functionality, but i could also implement it with the rest api for the time being.
Community Note
Description
The provider should include a resource that allows you to configure Repository Settings. We need the ability to either default Repository Settings for newly created Repositories or the ability to configure individual Repository Settings.
New or Affected Resource(s)
new resource "azuredevops_git_repository_settings"
Potential Terraform Configuration
Screenshot from Azure DevOps