microsoft / terraform-provider-azuredevops

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

Azure DevOps Build Definition with GitLab Repository? #535

Open uwrant opened 2 years ago

uwrant commented 2 years ago

Hi

I'm trying to create an Azure DevOps build definition connected to a gitlab repository using terraform. I was able to create a service connection using azuredevops_serviceendpoint_generic_git but I can't connect this service to a azuredevops_build_definition. The problem is that from the Azure DevOps perspective I'm suppose to use "Other Git" repository type but it looks like it's not an available option for azuredevops_build_definition.repository.type property. Only the following values are supported: GitHub, TfsGit, Bitbucket, GitHubEnterprise. Is there a way to connect GitLab?

Thanks

xuzhang3 commented 2 years ago

@uwrant The GitLab need add to the repo_type options to support it.