2023-06-13 15:32:02 +08:00
|
|
|
variable "secret_description" {}
|
2023-06-13 15:47:05 +08:00
|
|
|
variable "secret_name" {}
|
2023-12-21 17:47:41 +08:00
|
|
|
variable "secret_value" {
|
2023-06-13 15:32:02 +08:00
|
|
|
type = string
|
|
|
|
default = null
|
2023-12-21 17:47:41 +08:00
|
|
|
}
|
|
|
|
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."
|
2023-12-21 18:09:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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."
|
2023-06-13 15:32:02 +08:00
|
|
|
}
|