generated from Azure/terraform-azurerm-avm-template
-
Notifications
You must be signed in to change notification settings - Fork 12
/
variables.version.control.system.tf
69 lines (58 loc) · 2.09 KB
/
variables.version.control.system.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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."
}