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

feat: service endpoint for azure devops / tfs #339

Open
dmccaffery opened this issue Mar 23, 2021 · 1 comment · Fixed by #349
Open

feat: service endpoint for azure devops / tfs #339

dmccaffery opened this issue Mar 23, 2021 · 1 comment · Fixed by #349
Assignees

Comments

@dmccaffery
Copy link
Contributor

dmccaffery commented Mar 23, 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

Add a service endpoint to register cross-organisation service connections (for referencing things like azure pipelines templates).

New or Affected Resource(s)

  • azuredevops_serviceendpoint_azuredevops

Potential Terraform Configuration

resource "azuredevops_serviceendpoint_azuredevops" {
  project_id = "XXXX"
  service_endpoint_name = "Sample AzureDevOps"
  description = "Managed by Terraform"
  auth_personal {
    personal_access_token = "Some Token"
  }
  connection_url = "https://dev.azure.com/sample-org"
  grant_all_pipelines = true
}

References

API: https://docs.microsoft.com/en-us/rest/api/azure/devops/serviceendpoint/endpoints/create?view=azure-devops-rest-6.0

@arnonearth
Copy link
Contributor

I had the same use case of sharing repositories between organizations which requires an external TFS service connection. So I forked and wrote a resource for private use a few months ago.

I have recently finished writing tests and docs. I will open a pull request for this issue.

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

Successfully merging a pull request may close this issue.

3 participants