-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathvariables.tf
51 lines (47 loc) · 1.33 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
variable "filename" {
description = "Filename"
default = "kubeconfig"
type = string
}
variable "colors" {
description = "Colors"
default = true
type = bool
}
variable "current_context" {
description = "Context name"
default = ""
type = string
}
variable "contexts" {
description = "List of context configurations"
type = set(object({
name = optional(string)
cluster_name = optional(string)
namespace = optional(string)
user = optional(string)
}))
}
variable "clusters" {
description = "List of cluster configurations"
type = set(object({
name = optional(string)
server = optional(string)
certificate_authority = optional(string)
certificate_authority_data = optional(string)
insecure_skip_tls_verify = optional(bool)
}))
}
variable "users" {
description = "List of user configurations"
type = set(object({
name = optional(string)
username = optional(string)
password = optional(string)
token = optional(string)
client_certificate = optional(string)
client_key = optional(string)
client_certificate_data = optional(string)
client_key_data = optional(string)
}))
}