-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
124 lines (103 loc) · 2.83 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
variable "oauth_token_id" {
description = "ID of the oAuth token for the VCS connection"
type = string
}
variable "organization" {
description = "TF Organization to create workspaces under"
type = string
}
variable "tf_version" {
description = "Version of Terraform to use in workspace"
type = string
default = null
}
variable "vcs_org" {
description = "The Github organization that repositories live under"
type = string
}
variable "vcs_repo" {
description = "The Github repository name that is backing this workspace"
type = string
}
variable "workspaces" {
description = "Workspaces map where we define workspace and its path"
type = map(any)
default = {}
}
variable "slacks" {
description = "Map definning Slack notification options"
type = map(any)
default = {}
}
variable "triggers" {
description = "Map for TFE trigger relations workspace->workspace2"
type = map(any)
default = {}
}
variable "execution_mode" {
description = "Terraform worskapce execution more: remote, local or agent"
type = string
default = "remote"
}
variable "structured_run_output_enabled" {
description = "Whether this workspace should show output from Terraform runs using the enhanced UI when available"
type = bool
default = false
}
variable "assessments_enabled" {
description = "Regularly run health assessments such as drift detection on the workspace"
type = bool
default = false
}
variable "speculative_enabled" {
description = "Weather running plans on pull requests"
type = bool
default = true
}
variable "tag_names" {
description = "List of workspace tag names"
type = list(any)
default = []
}
variable "vars" {
description = "Map defining workspace variables"
type = map(any)
default = {}
}
variable "sec_vars" {
description = "Map defining workspace sensitive variables"
type = map(any)
default = {}
}
variable "var_sets" {
description = "Map defining variable sets"
type = any
# TODO: refactor using optional values when TF v1.3 is released
#map(object({
#desc = optional(string)
#global = optional(bool, false)
#vars = map(any)
#workspaces = optional(list(string))
#}))
default = {}
}
variable "TFC_WORKSPACE_NAME" {
description = "TFC workspace name from the ENV"
type = string
default = null
}
variable "aws_access_key_id" {
description = "AWS credentials to be used by these workspaces"
type = string
default = null
}
variable "aws_secret_access_key" {
description = "AWS credentials to be used by these workspaces"
type = string
default = null
}
variable "tfc_token" {
description = "TFC Team Token"
type = string
default = null
}