1
0
Files

29 lines
810 B
Terraform

variable "secret_description" {}
variable "secret_name" {}
variable "secret_value" {
type = string
default = null
}
variable "secret_policy" {
type = string
default = null
description = "By default, cross-account access is denied"
}
variable "generate_secret" {
type = bool
default = false
description = "If set to true, a secure password will be generated and saved."
}
variable "kms_key_id" {
type = string
default = null
description = "Custom kms key id. If not specified, the default key aws/secretmanager key will be used."
}
variable "secret_version" {
type = number
description = "Secret version number. Increment to modify secret, or leave this unset to have your secret updated everytime terraform applies"
default = null
}