-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
49 lines (41 loc) · 1.37 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
variable "secret_name" {
type = string
description = "Name of secret to create and use for rotation"
}
variable "secret_rotation_interval" {
type = number
description = "Number of days between automatic secret rotation"
default = 30
}
variable "extra_secrets" {
type = list(string)
description = "Optional list of ARNs for extra secrets the lambda should be able to access"
default = []
}
variable "lambda_function_arn" {
type = string
description = "ARN of the lambda function to use for secret rotation"
}
variable "lambda_function_name" {
type = string
description = "Name of the lambda function to use for secret rotation"
}
variable "lambda_iam_role_name" {
type = string
description = "Name of IAM role to associate to lambda function"
}
variable "lambda_alarm_actions" {
type = list(string)
description = "The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN)."
default = []
}
variable "lambda_enable_alarms" {
type = bool
description = "Set to true to enable alarms on the lambda function"
default = false
}
variable "resource_tags" {
type = map(string)
description = "Tags to add to resources created by this module (where applicable)"
default = {}
}