forked from lgallard/terraform-aws-secrets-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
38 lines (33 loc) · 1.19 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
variable "recovery_window_in_days" {
description = "Specifies the number of days that AWS Secrets Manager waits before it can delete the secret. This value can be 0 to force deletion without recovery or range from 7 to 30 days."
type = number
default = 30
}
# Secrets
variable "rotate_secrets" {
description = "Map of secrets to keep and rotate in AWS Secrets Manager"
type = any
default = {}
}
# Secrets
variable "secrets" {
description = "Map of secrets to keep in AWS Secrets Manager"
type = any
default = {}
}
variable "unmanaged" {
description = "Terraform must ignore secrets lifecycle. Using this option you can initialize the secrets and rotate them outside Terraform, thus, avoiding other users to change or rotate the secrets by subsequent runs of Terraform"
type = bool
default = false
}
variable "automatically_after_days" {
description = "Specifies the number of days between automatic scheduled rotations of the secret."
type = number
default = 30
}
# Tags
variable "tags" {
description = "Specifies a key-value map of user-defined tags that are attached to the secret."
type = any
default = {}
}