-
Notifications
You must be signed in to change notification settings - Fork 1
/
inputs.tf
93 lines (79 loc) · 2.05 KB
/
inputs.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
variable "configure_for_nomad" {
type = bool
description = "Configure base policies for use with Nomad."
default = true
}
variable "configure_for_nomad_acl" {
type = bool
description = "Configure nomad secrets engine"
default = true
}
variable "nomad_address" {
type = string
description = "Nomad API Address"
default = "http://localhost:4646"
}
variable "nomad_default_lease_ttl" {
type = number
description = "Default token TTL for Nomad tokens"
default = 3600
}
variable "nomad_max_lease_ttl" {
type = number
description = "Max token TTL for Nomad tokens"
default = 28800
}
variable "nomad_mint_global_tokens" {
type = bool
description = "Mint global tokens for default roles"
default = false
}
variable "configure_for_consul" {
type = bool
description = "Configure base policies for use with Consul."
default = true
}
variable "consul_address" {
type = string
description = "Consul API address"
default = "http://localhost:8500"
}
variable "consul_bootstrap" {
type = bool
description = "Bootstrap the Consul ACL system"
default = false
}
variable "consul_default_lease_ttl" {
type = number
description = "Default token TTL for Consul tokens"
default = 3600
}
variable "consul_max_lease_ttl" {
type = number
description = "Max token TTL for Consul tokens"
default = 28800
}
variable "configure_machine_certauth" {
type = bool
description = "Configure cert based machine auth"
default = true
}
variable "vault_role_policy_map" {
type = map(object({
certificate = string
policies = list(string)
allowed_names = optional(list(string))
}))
description = "Mapping of role maps"
default = {}
}
variable "machine_auth_ttl" {
type = number
description = "Default TTL for tokens"
default = 300
}
variable "machine_auth_max_ttl" {
type = number
description = "Max TTL for machine authenticated tokens"
default = 600
}