Terraform on AWS: Nonprod and Production Environments · Identity and Data: IAM, S3 and RDS
RDS PostgreSQL: Secrets Manager, Multi-AZ and Environment Differences
Provision a PostgreSQL RDS instance with a password managed by Secrets Manager, single-AZ in nonprod and Multi-AZ with deletion protection in production.
What you'll build
A modules/rds module that creates an RDS PostgreSQL instance with a Secrets Manager-managed master password, a subnet group, and configurable Multi-AZ, deletion protection, instance class and backup retention — so the same module produces a cost-efficient nonprod database and a highly available production database from different terraform.tfvars values.
Premium course
Keep reading with a membership
The rest of this lesson, its practice questions and the whole Terraform on AWS: Nonprod and Production Environments course are part of the membership.
Open in the app to mark lessons complete, take notes and track your progress.