This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
107 lines (91 loc) · 2.85 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
variable "project_id" {
description = "The name of TFC project"
type = string
}
variable "workspace" {
description = "The name of TFC workspace"
type = string
}
variable "queue_all_runs" {
default = false
description = "Determinates to queue all runs or not. Defaults to `false`"
type = bool
}
variable "allow_destroy_plan" {
default = false
description = "Determinate to allow destroy play or not. Defaults to `false`"
type = bool
}
variable "tag_names" {
default = []
description = "The list of TFC workspace tags. Defaults to `[]`"
type = list(string)
}
variable "terraform_reqiured_version" {
default = "~>1.7.0"
description = "The version of terraform required to run tasks. Defaults to `~> 1.7.0`"
type = string
}
variable "remote_state_consumer_ids" {
default = null
description = "The ID of workspace to share the terraform state with"
type = set(string)
}
variable "vcs_repos" {
default = null
description = "Settings for the workspace's VCS repository"
type = object({
identifier = string
branch = string
})
}
variable "working_directory" {
default = ""
description = "A relative path that Terraform will execute within"
type = string
}
variable "trigger_patterns" {
default = []
description = "List of glob patterns that describe the files Terraform Cloud monitors for changes. Trigger patterns are always appended to the root directory of the repository"
type = list(string)
}
variable "speculative_enabled" {
default = true
description = "Indicates whether this workspace allows speculative plans"
type = bool
}
variable "workspace_variables" {
default = {}
description = "The workspace variables"
type = map(object({
value = string
category = string
description = optional(string)
}))
}
### AWS AUTH PROVIDER
variable "aws_provider_auth" {
default = false
description = "Determinate to inject AWS creadentials or not. Defaults to `false`"
type = bool
}
variable "aws_region" {
default = "eu-central-1"
description = "The name of AWS region"
type = string
}
variable "aws_workload_identity_audience" {
default = "aws.workload.identity"
description = "Will be used as the aud claim for the identity token. Required if `tfc_aws_provider_auth` is set to `true`. Defaults to `aws.workload.identity`"
type = string
}
variable "aws_plan_role_arn" {
default = null
description = "The ARN of the role to use for the plan phase of a run. Required if `tfc_aws_provider_auth` is set to `true`."
type = string
}
variable "aws_apply_role_arn" {
default = null
description = "The ARN of the role to use for the apply phase of a run.Required if `tfc_aws_provider_auth` is set to `true`."
type = string
}