Data Source: azuredevops_git_repositories

Use this data source to access information about multiple existing Git Repositories within Azure DevOps. To read informations about a single Git Repository use the data source azuredevops_git_repository

Example Usage

data "azuredevops_project" "example" {
  name = "Example Project"
}

# Load all Git repositories of a project, which are accessible for the current user
data "azuredevops_git_repositories" "example-all-repos" {
  project_id     = data.azuredevops_project.example.id
  include_hidden = true
}

# Load a specific Git repository by name
data "azuredevops_git_repositories" "example-single-repo" {
  project_id = data.azuredevops_project.example.id
  name       = "Example Repository"
}

Argument Reference

The following arguments are supported:

DataSource without specifying any arguments will return all Git repositories of an organization.

Attributes Reference

The following attributes are exported: