An open API service indexing awesome lists of open source software.

https://github.com/data-platform-hq/terraform-azuredevops-ado-repo

Terraform module for managing Azure DevOps Repository
https://github.com/data-platform-hq/terraform-azuredevops-ado-repo

azure azure-devops terraform-modules

Last synced: 2 months ago
JSON representation

Terraform module for managing Azure DevOps Repository

Awesome Lists containing this project

README

        

# Azure DevOps Repository Terraform module
Terraform module for creation Azure DevOps Repository

## Usage

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.0 |
| [azuredevops](#requirement\_azuredevops) | >= 0.4.0 |
| [azurerm](#requirement\_azurerm) | >= 3.40.0 |

## Providers

| Name | Version |
|------|---------|
| [azuredevops](#provider\_azuredevops) | >= 0.4.0 |
| [azurerm](#provider\_azurerm) | >= 3.40.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [azuredevops_git_repository.this](https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/resources/git_repository) | resource |
| [azuredevops_client_config.current](https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/data-sources/client_config) | data source |
| [azuredevops_project.this](https://registry.terraform.io/providers/microsoft/azuredevops/latest/docs/data-sources/project) | data source |
| [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [custom\_repo\_name](#input\_custom\_repo\_name) | Custom Azure DevOps Repo name | `string` | `null` | no |
| [default\_branch](#input\_default\_branch) | The ref of the default branch. Will be used as the branch name for initialized repositories | `string` | `"refs/heads/main"` | no |
| [env](#input\_env) | Environment name | `string` | n/a | yes |
| [location](#input\_location) | Specifies the supported Azure location where the resource exists | `string` | n/a | yes |
| [project](#input\_project) | Project name | `string` | n/a | yes |
| [project\_name](#input\_project\_name) | Azure DevOps project name | `string` | n/a | yes |
| [suffix](#input\_suffix) | Suffix to add to resource | `string` | `""` | no |

## Outputs

| Name | Description |
|------|-------------|
| [repo](#output\_repo) | Attributes of repository created in Azure DevOps |
| [vsts\_configuration](#output\_vsts\_configuration) | Configuration used in Azure Data Factory or Azure Synapse Analytics for repository created in Azure DevOps |

## License

Apache 2 Licensed. For more information please see [LICENSE](https://github.com/data-platform-hq/terraform-azuredevops-ado-repo/blob/main/LICENSE)