| Name | Version |
|---|---|
| terraform | >= 1.6.3 |
| azuredevops | 1.9.0 |
| Name | Version |
|---|---|
| azuredevops | 1.9.0 |
| azurerm | 4.43.0 |
No modules.
| Name | Type |
|---|---|
| azuredevops_git_repository.main | resource |
| azuredevops_project.main | data source |
| azurerm_client_config.current | data source |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| azuredevops_project | The name of the Azure DevOps project where repositories will be created. | string |
n/a | yes |
| init_type | Defines how the repository should be initialized: - Uninitialized: Creates an empty repository - Clean: Creates a repository with a README - Import: Imports content from an existing repository |
string |
"Clean" |
no |
| repo_enabled | Boolean flag to control whether repositories should be created. | bool |
true |
no |
| repositories | Map of repositories to create. Each repository can have its own default branch. Example: repositories = { repo1 = { name = "repo1" default_branch = "main" } repo2 = { name = "repo2" default_branch = "master" } } |
map(object({ |
n/a | yes |
| Name | Description |
|---|---|
| repository_branches | Default branches of the created repositories. |
| repository_ids | IDs of the created repositories. |
| repository_names | Names of the created repositories. |
| repository_urls | Remote URLs of the created repositories. |