This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
116 lines (99 loc) · 3.06 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
variable "workspace_name" {
type = string
description = "(Required) Name of the workspace."
}
variable "workspace_org" {
type = string
description = "(Required) Name of the organization."
default = "edithcare"
}
variable "workspace_auto_apply" {
type = bool
description = "(Required) Whether destroy plans can be queued on the workspace."
}
variable "workspace_file_triggers_enabled" {
type = bool
description = "(Optional) Whether to filter runs based on the changed files in a VCS push."
default = true
}
variable "workspace_queue_all_runs" {
type = bool
description = "(Optional) Whether the workspace should start automatically performing runs immediately after its creation."
default = false
}
variable "workspace_terraform_version" {
type = string
description = "(Required) The version of Terraform to use for this workspace."
}
variable "workspace_working_directory" {
type = string
description = "(Required) A relative path that Terraform will execute within."
}
variable "workspace_vcs_branch" {
type = string
description = "(Optional) repository branch that Terraform will execute from. Default to `master`"
default = "master"
}
variable "workspace_trigger_prefixes" {
type = list(string)
description = "(Optional) List of repository-root-relative paths which describe all locations to be tracked for changes"
default = []
}
variable "workspace_allow_destroy_plan" {
type = bool
description = "(Optional) Whether destroy plans can be queued on the workspace."
default = true
}
variable "workspace_vcs_identifier" {
type = string
description = "(Required) A reference to your VCS repository in the format <organization>/<repository> where <organization> and <repository> refer to the organization and repository in your VCS provider."
}
variable "workspace_vcs_ingress_submodules" {
type = bool
description = "(Optional) Whether submodules should be fetched when cloning the VCS repository. Defaults to `false`."
default = false
}
variable "workspace_vcs_oauth_token_id" {
type = string
description = "(Required) The VCS Connection (OAuth Connection + Token) to use. This ID can be obtained from a tfe_oauth_client resource."
}
variable "team_access" {
type = list(object({
name = string
id = string
access = string
}))
description = "value"
default = []
}
variable "slack_enabled" {
type = bool
description = "value"
default = false
}
variable "slack_url" {
type = string
description = "value"
}
variable "slack_triggers" {
type = list(string)
description = "value"
default = [
"run:created",
"run:completed",
"run:errored",
"run:needs_attention",
]
}
variable "tf_variables" {
type = list(object({
category = string
name = string
value = string
sensitive = optional(bool)
hcl = optional(bool)
description = optional(string)
}))
description = "value"
default = []
}