terraform-aws-rds-schema-and-user
TF module to create a Schema on RDS Aurora and generate random username and password and write to a secret.
module "rds" {
source = " ../rds"
rds_name = " example-schema"
rds_cluster_host = var. rds_cluster_host
rds_cluster_name = var. rds_cluster_name
rds_cluster_port = var. rds_cluster_port
default_character_set = " utf8mb4"
default_collation = " utf8mb4_unicode_ci"
tags = var. tags
}
Name
Description
Type
Default
Required
rds_cluster_host
The shared DB cluster DNS hostname that this tenant runs on
string
n/a
yes
rds_cluster_name
The shared DB cluster that this tenant runs on
string
n/a
yes
rds_cluster_port
The shared DB cluster port that this tenant runs on
string
n/a
yes
rds_name
The Name of the Tenant to embed in resouces
string
n/a
yes
tags
default map of tags
map(string)
n/a
yes
default_character_set
The default character set to apply to the schema
string
"utf8"
no
default_collation
The default collation to apply to the schema
string
"utf8_general_ci"
no