The aws-rds module contains all resources that is required for creating an RDS instance in AWS cloud using given VPC
| Inputs | Type | Required/Optional | Description |
Default |
|---|---|---|---|---|
| admin_user | string | Required | The Admin username for rds | "" |
| allocated_storage | number | Required | The amount of storage for rds | 0 |
| apply_immediately | bool | Optional | whether to apply changes immediately or not | false |
| auto_minor_version_upgrade | bool | Optional | Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window | false |
| aws_region | string | Required | The AWS region to deploy to (e.g. us-east-1) | "" |
| cluster_name | string | Required | Name of the cluster to which RDS instance is attached with | "" |
| databases | list(string) | Required | List of databases to be added in RDS instance | [] |
| db_subnets | list(string) | Required | The private vpc subnets for the cluster | [] |
| deletion_protection | bool | Optional | If the DB instance has deletion protection enabled , then database can't be deleted when this value is set to true | true |
| enable_ssl | bool | Optional | Whether SSL should be enabled or not based on user requirement | false |
| ext_rds_sg_cidr_block | list(string) | Optional | additional/extra cidr blocks for the rds security group | [] |
| instance_class | string | Required | The type of RDS Instances to run in the ASG (e.g. db.t3.micro) | "" |
| iops | number | Optional | The amount of provisioned IOPS. Setting this implies a storage_type of 'io1' | 0 |
| log_min_duration_statement | number | Optional | Sets the minimum execution time above which all statements will be logged. | -1, For valid values click here |
| max_allocated_storage | number | Optional | When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Must be greater than or equal to allocated_storage,0 to disable Storage Autoscaling. | 0 |
| monitoring_interval | number | Optional | The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 5. Valid Values: 0, 1, 5, 10, 15, 30, 60. | 0 |
| multi_az | bool | Optional | Option to enable multi availability zone | false |
| mysql_engine_version | string | Optional | the engine version for mysql | 5.7 |
| namespace | string | Required | Namespace to which RDS instance is attached with | "" |
| postgresql_engine_version | string | Optional | The engine version to use for postgresql | 13.7 |
| rds_name | string | Required | The Name of RDS Resource | "" |
| rds_type | string | Required | The RDS instance type(MySQL, PostgreSQL) | "", For valid values click here |
| read_replica | bool | Optional | whether rds read replica needs to be created or not | false |
| read_replica_multi_az | bool | Optional | Option to enable multi availability zone for RDS read replica | false |
| tags | map(any) | Required | Tags for aws resources | null |
| vpc_id | string | Required | The vpc id for the cluster | "" |