shaikhsalman's picture
refactor: merged structure - model at center, DevSecOps wrapped around it
9d4d5c7 verified
# RDS Module Variables
variable "name" {
type = string
}
variable "engine" {
type = string
default = "postgres"
}
variable "engine_version" {
type = string
default = "16.1"
}
variable "engine_mode" {
type = string
default = "provisioned" # "serverless" for Aurora Serverless
}
variable "instance_class" {
type = string
default = "db.r6g.large"
}
variable "database_name" {
type = string
}
variable "master_username" {
type = string
default = "dbadmin"
sensitive = true
}
variable "master_password" {
type = string
sensitive = true
}
variable "allocated_storage" {
type = number
default = 100
}
variable "multi_az" {
type = bool
default = true
}
variable "backup_retention_period" {
type = number
default = 35
}
variable "database_subnet_ids" {
type = list(string)
}
variable "vpc_id" {
type = string
}
variable "allowed_security_group_ids" {
type = list(string)
}
variable "kms_key_arn" {
type = string
}
variable "tags" {
type = map(string)
default = {}
}