29 lines
715 B
HCL
29 lines
715 B
HCL
# Secret Manager
|
|
variable "secret_manager_instance_id" {
|
|
description = "instance id of the secret mangert to store credentials"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "secret_manager_username" {
|
|
description = "username of the secret mangert to store credentials"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "secret_manager_password" {
|
|
description = "password of the secret mangert to store credentials"
|
|
type = string
|
|
sensitive = true
|
|
}
|
|
|
|
variable "secrets_path" {
|
|
description = "path in secret manager to store the postgres credentials"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "secret_data" {
|
|
description = "Secret data in JSON format"
|
|
type = map(string)
|
|
}
|