This template creates an Amazon Aurora PostgreSQL DB cluster that exports logs to Amazon CloudWatch Logs. The template includes a Secrets Manager secret for generating and storing a password for the database. It also creates a cluster parameter group and a parameter group for configuring the cluster and instances. The DB instances are publicly accessible and use the db.r5.large instance class.

CloudFormation Template