Skip to content

Commit

Permalink
Add README and remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Dipti Pai <[email protected]>
  • Loading branch information
dipti-pai committed Aug 9, 2024
1 parent f1e2e49 commit efac554
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
22 changes: 22 additions & 0 deletions tf-modules/azure/devops/README.md
Original file line number Diff line number Diff line change
@@ -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
}
```
10 changes: 0 additions & 10 deletions tf-modules/azure/devops/variables.tf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit efac554

Please sign in to comment.