Support custom database user and database names properly (#240)

This commit is contained in:
Robert Fairburn authored and GitHub committed 2026-05-26 14:23:56 -05:00
1 parent 1bfc9a14be
commit b4f2ffbf98
15 files changed
+281 -266

No files matched your search

+6 -4
View File
@@ -209,6 +209,7 @@ variable "rds_config" {
}
})
master_username = optional(string, "fleet")
database_name = optional(string, "fleet")
snapshot_identifier = optional(string)
cluster_tags = optional(map(string), {})
skip_final_snapshot = optional(bool, true)
@@ -269,6 +270,7 @@ variable "rds_config" {
}
}
master_username = "fleet"
database_name = "fleet"
snapshot_identifier = null
cluster_tags = {}
skip_final_snapshot = true
@@ -567,11 +569,11 @@ variable "fleet_config" {
name = "fleet"
})
database = optional(object({
password_secret_arn = string
password_secret_arn = optional(string, null)
password_secret_kms_key_arn = optional(string, null)
user = string
database = string
address = string
user = optional(string, null)
database = optional(string, null)
address = optional(string, null)
rr_address = optional(string, null)
}), {
password_secret_arn = null