deploy_db_instance |
Deploy DB instance. |
bool |
true |
no |
enable_enhanced_monitoring |
Enable enhanced monitoring on the DB instance. |
bool |
true |
no |
enable_performance_insights |
Enable performance insights. |
bool |
true |
no |
enabled_cloudwatch_logs_exports |
DB instance cloudwatch exports. |
list(string) |
[ "postgresql", "upgrade" ] |
no |
monitoring_interval |
Interval to monitor when enhanced monitoring is turned on. |
number |
60 |
no |
multi_az |
Enable multi az. |
bool |
false |
no |
name |
Name of the DB instance. |
string |
n/a |
yes |
rds_allocated_storage |
Default DB instance storage size. |
number |
20 |
no |
rds_backup_retention_period |
Automated snapshot retention period. |
number |
7 |
no |
rds_backup_window |
The daily time range (UTC) during which automated backups are created if they are enabled. |
string |
"04:00-04:30" |
no |
rds_db_name |
Name of the default database name. |
string |
"postgres" |
no |
rds_engine |
DB engine to use. |
string |
"postgres" |
no |
rds_engine_version |
Version to use for the DB instance engine. |
string |
"12.7" |
no |
rds_instance_class |
Instance class to use for the DB instance. |
string |
"db.t2.micro" |
no |
rds_maintenance_window |
The window to perform maintenance in. |
string |
"Sun:05:00-Sun:05:30" |
no |
rds_max_allocated_storage |
Max scaling for DB instance storage size. |
number |
50 |
no |
rds_password |
Password for the default admin user. Optional, random password will be created if not present. |
string |
null |
no |
rds_port |
Port to use for the DB instance. |
number |
5432 |
no |
rds_snapshot_identifier |
Create DB instances using the provided snapshot ID. |
string |
null |
no |
rds_username |
User name for the default admin user. |
string |
"postgres" |
no |
storage_encrypted |
Encrypt storage |
bool |
false |
no |
subnet_group |
Subnet group for the DB instance. If not provided, a default subnet group will be created. |
string |
null |
no |
subnet_ids |
Subnets for the DB instance. Optional if subnet_group is present, otherwise required. |
list(string) |
null |
no |
tags |
Tags to apply to applicable resources. |
map(string) |
{} |
no |
vpc_id |
The VPC to create the security group. Optional if vpc_security_group_ids is present. |
string |
null |
no |
vpc_security_group_ids |
List of security groups to attach to the DB instance. If not provided, a default SG will be created. |
list(any) |
null |
no |