This Terraform module is designed to create and manage FlowFuse-specific Amazon RDS (Relational Database Service) instances.
The module supports the following:
- Creation of RDS primary and replica instances
- Creation of dedicated VPS and subnets for the RDS instances
- Creation of FlowFuse-specific databases
The module also provides several outputs including the database address, name, password, and user.
module "rds" {
source = "git::https://github.com/flowFuse/terraform-aws-flowfuse.git//rds?ref=main"
namespace = "my-company"
stage = "production"
tags = {
Environment = "production"
Project = "my-project"
terraform = true
}
}
Name |
Source |
Version |
primary |
cloudposse/rds/aws |
1.1.2 |
rds_subnets |
cloudposse/dynamic-subnets/aws |
2.4.2 |
rds_vpc |
cloudposse/vpc/aws |
2.2.0 |
replica |
cloudposse/rds/aws |
1.1.0 |
Name |
Description |
Type |
Default |
Required |
cidr |
The CIDR block for the RDS VPC |
string |
"172.24.124.0/24" |
no |
database_name |
The name of the database to create |
string |
"flowforge" |
no |
database_port |
The port on which the database accepts connections |
number |
5432 |
no |
database_user |
The master username for the database. Must be all lowercase |
string |
"forge" |
no |
namespace |
ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique |
string |
n/a |
yes |
stage |
ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'build', 'test', 'deploy', 'release' |
string |
n/a |
yes |
tags |
A map of tags to add to all resources |
map(string) |
{} |
no |