Skip to content

Latest commit

 

History

History
110 lines (86 loc) · 1.92 KB

azuredevops_iteration_permissions.md

File metadata and controls

110 lines (86 loc) · 1.92 KB

azuredevops_iteration_permissions

back

Index

Terraform

terraform {
  required_providers {
    azuredevops = ">= 0.1.3"
  }
}

top

Example Usage

module "azuredevops_iteration_permissions" {
  source = "./modules/azuredevops/r/azuredevops_iteration_permissions"

  # path - (optional) is a type of string
  path = null
  # permissions - (required) is a type of map of string
  permissions = {}
  # principal - (required) is a type of string
  principal = null
  # project_id - (required) is a type of string
  project_id = null
  # replace - (optional) is a type of bool
  replace = null
}

top

Variables

variable "path" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "permissions" {
  description = "(required)"
  type        = map(string)
}

variable "principal" {
  description = "(required)"
  type        = string
}

variable "project_id" {
  description = "(required)"
  type        = string
}

variable "replace" {
  description = "(optional)"
  type        = bool
  default     = null
}

top

Resource

resource "azuredevops_iteration_permissions" "this" {
  # path - (optional) is a type of string
  path = var.path
  # permissions - (required) is a type of map of string
  permissions = var.permissions
  # principal - (required) is a type of string
  principal = var.principal
  # project_id - (required) is a type of string
  project_id = var.project_id
  # replace - (optional) is a type of bool
  replace = var.replace
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = azuredevops_iteration_permissions.this.id
}

output "this" {
  value = azuredevops_iteration_permissions.this
}

top