-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathvariables.tf
67 lines (55 loc) · 1.76 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
variable "namespace" {
type = string
description = "Namespace (e.g. `cp` or `cloudposse`)"
}
variable "stage" {
type = string
description = "Stage (e.g. `prod`, `dev`, `staging`)"
}
variable "name" {
type = string
description = "Name (e.g. `app` or `chamber`)"
}
variable "delimiter" {
type = string
default = "-"
description = "Delimiter to be used between `namespace`, `stage`, `name` and `attributes`"
}
variable "attributes" {
type = list(string)
default = []
description = "Additional attributes (e.g. `1`)"
}
variable "tags" {
type = map(string)
default = {}
description = "Additional tags (e.g. map(`BusinessUnit`,`XYZ`)"
}
variable "region" {
type = string
description = "AWS Region"
}
variable "account_id" {
type = string
description = "AWS account ID"
}
variable "kms_key_reference" {
description = "The Key ID, Key ARN, Key Alias Name, or Key Alias ARN of the KMS key which will encrypt/decrypt SSM secret strings"
}
variable "assume_role_arns" {
type = list(string)
description = "List of ARNs to allow assuming the role. Could be AWS services or accounts, Kops nodes, IAM users or groups"
}
variable "ssm_actions" {
type = list(string)
default = ["ssm:GetParametersByPath", "ssm:GetParameters"]
description = "SSM actions to allow"
}
variable "ssm_parameters" {
type = list(string)
description = "List of SSM parameters to apply the actions. A parameter can include a path and a name pattern that you define by using forward slashes, e.g. `kops/secret-*`"
}
variable "max_session_duration" {
default = 3600
description = "The maximum session duration (in seconds) for the role. Can have a value from 1 hour to 12 hours"
}