5.3
Updated RDS module to use resource "random_password", instead of resource "random_string" to generate the db password.
This will fix pipeline exposing the db password.
Also reverted dynamic "parameter" changes which were in the master branch, but have never been part of an official release.
resource "aws_db_parameter_group" "custom_parameters" {
name = local.identifier
family = var.rds_family
dynamic "parameter" {
for_each = var.db_parameter
content {
apply_method = lookup(parameter.value, "apply_method", null)
name = parameter.value.name
value = parameter.value.value
}
}
}