-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
89 lines (76 loc) · 2.09 KB
/
variables.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
variable "agent_pool_id" {
default = null
description = "ID of the agent pool to associate with the workspace."
type = string
}
variable "allow_destroy_plan" {
default = false
description = "Whether to allow the creation of destroy plans."
type = bool
}
variable "assessments_enabled" {
default = false
description = "Whether to enable health assesments."
type = bool
}
variable "auto_apply" {
default = false
description = "Whether to automatically apply changes when a Terraform plan is successful."
type = bool
}
variable "description" {
description = "The description of the workspace to create."
type = string
}
variable "execution_mode" {
default = "remote"
description = "The execution mode of the workspace to create."
type = string
}
variable "name" {
description = "The name of the workspace to create."
type = string
}
variable "organization_name" {
description = "The name of the organization to use."
type = string
}
variable "project_id" {
description = "The id of the project to use."
type = string
}
variable "run_trigger_workspace_ids" {
default = []
description = "A list of workspace IDs to associate with the workspace."
type = list(string)
}
variable "tags" {
default = []
description = "A list of tags to add to the workspace."
type = list(string)
}
variable "variable_set_ids" {
default = []
description = "A list of variable set IDs to associate with the workspace."
type = list(string)
}
variable "variables" {
default = []
description = "A list of variables to add to the workspace."
type = list(object({
category = string
description = optional(string)
hcl = optional(bool)
key = string
sensitive = optional(bool)
value = string
}))
}
variable "vcs_repo" {
default = null
description = "The VCS repository to associate with the workspace."
type = object({
github_app_installation_id = string
identifier = string
})
}