Requirements

Name Version
aws 4.65.0

ToDos

  • Proxy (Aurora)
  • Security Groups
  • Enhanced Monitoring
  • Parameter Groups
  • Tags

Providers

Name Version
aws 4.65.0
random 3.5.1

Modules

No modules.

Resources

Name Type
aws_db_instance.this resource
aws_db_instance.this_rds_replica resource
aws_db_subnet_group.this resource
aws_kms_alias.this resource
aws_kms_key.this resource
aws_ssm_parameter.this_database_password resource
random_password.this resource

Inputs

Name Description Type Default Required
allocated_storage The allocated disk storage for the database number 20 no
db_name The name of the database inside the instance string "myapplication" no
enable_automated_backups If the automated backups should be enabled bool true no
enable_cloudwatch_logs If the database should send logs to CloudWatch bool true no
enable_immediate_apply If the configurations should be applied immediately or in the next downtime window only bool false no
enable_multi_az If the multi-az failover is active for the database or not bool true no
enable_public_access If the database should be accessible from the internet bool false no
enable_read_replica If the database should have a read-replica enabled bool true no
instance_class The database instance type string "db.t3.micro" no
rds_name The name of the RDS instance string "terraforming-rds" no
subnets The subnets to deploy the database in list(string) [] no

Outputs

Name Description
rds_endpoint The endpoint of the RDS instance