Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Think-Cube/terraform-azuredevops-repository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

Name Version
terraform >= 1.6.3
azuredevops 1.9.0

Providers

Name Version
azuredevops 1.9.0
azurerm 4.43.0

Modules

No modules.

Resources

Name Type
azuredevops_git_repository.main resource
azuredevops_project.main data source
azurerm_client_config.current data source

Inputs

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({
name = string
default_branch = optional(string)
}))
n/a yes

Outputs

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.

About

Terraform module to create and manage Azure DevOps Git repositories with customizable default branches and initialization options.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages