forked from cloudposse/terraform-aws-kms-key
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
29 lines (25 loc) · 1.05 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
variable "deletion_window_in_days" {
type = number
default = 10
description = "Duration in days after which the key is deleted after destruction of the resource"
}
variable "enable_key_rotation" {
type = bool
default = true
description = "Specifies whether key rotation is enabled"
}
variable "description" {
type = string
default = "Parameter Store KMS master key"
description = "The description of the key as viewed in AWS console"
}
variable "alias" {
type = string
default = ""
description = "The display name of the alias. The name must start with the word `alias` followed by a forward slash. If not specified, the alias name will be auto-generated."
}
variable "policy" {
type = string
default = ""
description = "A valid KMS policy JSON document. Note that if the policy document is not specific enough (but still valid), Terraform may view the policy as constantly changing in a terraform plan. In this case, please make sure you use the verbose/specific version of the policy."
}