cloudposse/rds-cluster
Terraform module to provision an RDS Aurora cluster for MySQL or Postgres.
About
Terraform module to provision an RDS Aurora cluster for MySQL or Postgres.
Maintained by cloudposse on the Terraform Registry. Latest version 2.6.0, 5.4M downloads. Requires providers: aws >= 5.81.0; null >= 2.0; random >= 2.0.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- A production database with backups, encryption and parameter groups set once.
- Dev and staging copies that match production configuration.
- Credential rotation handled through secrets, not in code.
Inputs
Required inputs:
vpc_id— stringsubnets— list(string)
109 inputs, 21 outputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
aws_rds_cluster× 2aws_rds_cluster_instanceaws_rds_cluster_parameter_groupaws_db_parameter_groupaws_db_subnet_groupaws_security_groupaws_security_group_rule× 6aws_appautoscaling_targetaws_appautoscaling_policyaws_rds_cluster_activity_stream
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.