variables.version.control.system.tf (58 lines of code) (raw):

variable "version_control_system_organization" { type = string description = "The version control system organization to deploy the agents too." } variable "version_control_system_personal_access_token" { type = string description = "The personal access token for the version control system." sensitive = true } variable "version_control_system_type" { type = string description = "The type of the version control system to deploy the agents too. Allowed values are 'azuredevops' or 'github'" nullable = false validation { condition = contains(local.valid_version_control_systems, var.version_control_system_type) error_message = "cicd_system must be one of 'azuredevops' or 'github'" } } variable "version_control_system_agent_name_prefix" { type = string default = null description = "The version control system agent name prefix." } variable "version_control_system_placeholder_agent_name" { type = string default = null description = "The version control system placeholder agent name." } variable "version_control_system_agent_target_queue_length" { type = number default = 1 description = "The target value for the amound of pending jobs to scale on." } variable "version_control_system_enterprise" { type = string default = null description = "The enterprise name for the version control system." } variable "version_control_system_pool_name" { type = string default = null description = "The name of the agent pool in the version control system." } variable "version_control_system_repository" { type = string default = null description = "The version control system repository to deploy the agents too." } variable "version_control_system_runner_group" { type = string default = null description = "The runner group to add the runner to." } variable "version_control_system_runner_scope" { type = string default = "repo" description = "The scope of the runner. Must be `ent`, `org`, or `repo`. This is ignored for Azure DevOps." }