cluster
ahmetbekan/cluster/rds
Module to create RDS This repo requires mysql client. Please install by running `` sudo yum install mysql -y ` Create a file module.tf and add the following ` module "db" { source = "./terraform-rds/cluster" region = "us-east-2" subnet_ids = [ "subnet-0764b3812f98463f4", "subnet-01a630df412c0aab8", "subnet-07655cc9da49d8de5" ] security_group_name = "db" allowed_hosts = [ "0.0.0.0/0" ] db_name = "dbname" engine = "aurora" engine_version = "5.6.10a" instance_class = "db.t2.micro" username = "foo" password = "foobarbaz" publicly_accessible = true } ` Create another file output.tf ` output "region" { value = "${module.db.region}" } output "subnet_list" { value = "${module.db.subnet_list}" } output "allows_hosts" { value = "${module.db.allowed_hosts}" } output "DB_NAME" { value = "${module.db.D
| Name | Type | Description | Default |
|---|---|---|---|
| engine_version | string | required | |
| subnet_ids | list | required | |
| allowed_hosts | list | required | |
| engine | string | required | |
| security_group_name | string | required | |
| db_name | string | required | |
| instance_class | string | required | |
| username | string | required | |
| password | string | required | |
| publicly_accessible | string | required | |
| region | string | required |
DB_NAMEregionsubnet_listallowed_hosts