Support creating azuredevops_git_repository
with import using signed in account
#1076
Labels
azuredevops_git_repository
with import using signed in account
#1076
Community Note
Description
Our team would like to be able to create new repos based on a private template repo we have. We currently need to supply a service connection with PAT to import this repo without creating a fork. Instead of using this service connection, we would like this resource to try creating the repo using the signed-in user/principal that the provider uses for other operations.
New or Affected Resource(s)
Potential Terraform Configuration
Simply omitting the argument
initialization.service_connection_id
in the resourceazuredevops_git_repository
should try creating the repo with initialization type import using the logged-in userReferences
Importing repos like this was added in #402, but since then this provider has added the support for login with a Service Connection in #747
The text was updated successfully, but these errors were encountered: