Modifying byo-vpc to allow dynamic read replica count as a variable (#26)

- Added support for dynamic input of RDS replicas
This commit is contained in:
Jorge Falcon authored and GitHub committed 2025-04-10 12:32:56 -05:00
1 parent f23200d567
commit effca06ef3
3 files changed
+18 -4

No files matched your search

+2
View File
@@ -79,6 +79,7 @@ variable "rds_config" {
cluster_tags = optional(map(string), {})
skip_final_snapshot = optional(bool, true)
backup_retention_period = optional(number, 7)
replicas = optional(number, 2)
})
default = {
name = "fleet"
@@ -99,6 +100,7 @@ variable "rds_config" {
cluster_tags = {}
skip_final_snapshot = true
backup_retention_period = 7
replicas = 2
}
description = "The config for the terraform-aws-modules/rds-aurora/aws module"
nullable = false