Name | Version |
---|---|
aws | >= 4.0 |
Name | Version |
---|---|
aws | >= 4.0 |
No modules.
Name | Type |
---|---|
aws_cloudwatch_log_group.rds | resource |
aws_db_parameter_group.instance | resource |
aws_db_subnet_group.rds | resource |
aws_iam_role.enhanced_monitoring | resource |
aws_iam_role_policy_attachment.enhanced_monitoring | resource |
aws_rds_cluster.db | resource |
aws_rds_cluster_instance.db | resource |
aws_rds_cluster_parameter_group.cluster | resource |
aws_iam_policy_document.rds_trust_policy | data source |
aws_kms_key.rds | data source |
aws_partition.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
apply_immediately | Apply changes imediately | bool |
false |
no |
auto_minor_version_upgrade | Auto minor version upgradation during maintainance window | bool |
false |
no |
backup_retention_period | Backup retention period | number |
n/a | yes |
backup_window | When to perform DB backups | string |
n/a | yes |
certificate_identifier | rds certificate identifier | string |
"rds-ca-rsa2048-g1" |
no |
cloudwatch_log_group_retention_in_days | The number of days to retain CloudWatch logs for the DB instance | number |
30 |
no |
cluster_custom_parameters | RDS cluster custom parameter group | list(any) |
[] |
no |
create_monitoring_role | Create IAM role with a defined name that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. | bool |
false |
no |
database_name | Database name | string |
n/a | yes |
db_subnet_group_name | DB subnet group name | string |
"" |
no |
deletion_protection | Deletion protection | bool |
true |
no |
enable_http_endpoint | Enable HTTP endpoint (data API). | bool |
false |
no |
enabled_cloudwatch_logs_exports | Enabled cloudwatch logs export | list(any) |
[] |
no |
engine | RDS db engine | string |
n/a | yes |
engine_mode | RDS DB engine mode | string |
"provisioned" |
no |
engine_version | RDS db engine version | string |
n/a | yes |
enhanced_monitoring_interval | 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 0. Valid Values: 0, 1, 5, 10, 15, 30, 60. | number |
0 |
no |
instance_class | RDS instance class | string |
"db.t3.medium" |
no |
instance_count | Minimum instance for scaling | number |
0 |
no |
instance_custom_parameters | RDS db custom parameter group | list(any) |
[] |
no |
maintenance_window | When to perform DB maintenance | string |
"sun:05:00-sun:06:00" |
no |
master_password | RDS Master password | string |
n/a | yes |
master_username | RDS Master username | string |
n/a | yes |
max_capacity | Maximum capacity for an Aurora DB cluster in provisioned DB engine mode. Valid capacity values are in a range of 0.5 up to 128 in steps of 0.5. | number |
0 |
no |
min_capacity | Minimum capacity for an Aurora DB cluster in provisioned DB engine mode. Valid capacity values are in a range of 0.5 up to 128 in steps of 0.5. | number |
0 |
no |
monitoring_role_arn | The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. Must be specified if monitoring_interval is non-zero. | string |
null |
no |
name | RDS name | string |
n/a | yes |
performance_insights_enabled | Specifies whether Performance Insights are enabled | bool |
false |
no |
performance_insights_kms_key_id | The ARN for the KMS key to encrypt Performance Insights data. | string |
null |
no |
performance_insights_retention_period | The amount of time in days to retain Performance Insights data. Either 7 (7 days) or 731 (2 years). | number |
7 |
no |
port | RDS port | number |
null |
no |
publicly_accessible | Publicaly accessible | bool |
false |
no |
scaling_configuration | scaling_configuration configuration is only valid when engine_mode is set to serverless | map(any) |
{} |
no |
skip_final_snapshot | Skip final snapshot | bool |
false |
no |
storage_encrypted | Skip final snapshot | bool |
true |
no |
subnets | RDS subnet group | list(any) |
n/a | yes |
vpc_id | VPC id | string |
n/a | yes |
vpc_security_group_ids | VPC security groups for RDS | list(string) |
[] |
no |
Name | Description |
---|---|
cluster_arn | n/a |
cluster_identifier | n/a |
db_master_password | n/a |
db_master_username | n/a |
db_name | n/a |
db_port | n/a |
endpoint | n/a |
instance_arns | n/a |
rds_subnet_group_name | n/a |
reader_endpoint | n/a |
Apache 2 Licensed. See LICENSE for full details.