terraform.aws-baseline-infra/modules/security_identity_compliance/secretsmanager-secret/variables.tf

23 lines
577 B
Terraform
Raw Normal View History

2023-06-13 15:32:02 +08:00
variable "secret_description" {}
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."
}
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
}