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

Data source for Service Principals #746

Open
davidcorrigan714 opened this issue Apr 5, 2023 · 3 comments
Open

Data source for Service Principals #746

davidcorrigan714 opened this issue Apr 5, 2023 · 3 comments

Comments

@davidcorrigan714
Copy link
Contributor

davidcorrigan714 commented Apr 5, 2023

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

There should be an azuredevops_service_principal data source much like azuredevops_group, azuredevops_groups, and azuredevops_users.

New or Affected Resource(s)

  • azuredevops_service_principal

Potential Terraform Configuration

data "azuredevops_service_principal" "example-all-from-origin-id" {
  origin_id = "00000000-0000-0000-0000-000000000000"
}

data "azuredevops_service_principal" "example-all-from-app-name" {
  principal_name = "my-azure-devops-app-registration"
}

References

Service Principal docs

API Docs

Likely blocked by microsoft/azure-devops-go-api#123

@cveld
Copy link

cveld commented Apr 26, 2023

Does the go sdk have some extension point to plug custom rest api calls? Then you can plug your own rest calls for the missing ones.

@davidcorrigan714
Copy link
Contributor Author

The updated Go API came out a week or so ago so this should be unblocked now. Haven't had a chance to check it out myself yet though we'd like to use it and would like to get it upstreamed before the next release cycle for everyone else.

@tsanton
Copy link

tsanton commented May 23, 2023

Hi! Any ETA on this? :)
As I can't find a PR for it(?), are anybody taking at stab at it as we speak?
If not, I wouldn't mind having a go at it. When's the cutoff for v0.6.0?

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

No branches or pull requests

4 participants