diff --git a/tf-modules/azure/devops/README.md b/tf-modules/azure/devops/README.md new file mode 100644 index 0000000..470f7db --- /dev/null +++ b/tf-modules/azure/devops/README.md @@ -0,0 +1,22 @@ +# DevOps Module + +Configuration in this directory creates an Azure DevOps Project and repository. + +## Usage + +```hcl +provider "azuredevops" { + org_service_url = "https://dev.azure.com/azuredevops_org" + personal_access_token = "azuredevops_pat" +} + +module "devops" { + source = "git::https://github.com/fluxcd/test-infra.git//tf-modules/azure/devops" + providers = { + azuredevops = azuredevops + } + + project_name = local.project_name + repository_name = local.repo_name +} +``` diff --git a/tf-modules/azure/devops/variables.tf b/tf-modules/azure/devops/variables.tf index 28fd20b..e9ce15b 100644 --- a/tf-modules/azure/devops/variables.tf +++ b/tf-modules/azure/devops/variables.tf @@ -1,13 +1,3 @@ -variable "organization" { - description = "The name of the Azure DevOps organization" - type = string -} - -variable "pat_token" { - description = "The Personal Access Token for Azure DevOps" - type = string -} - variable "project_name" { description = "The name of the Azure DevOps project" type = string