Terraform Modules for AWS Databases, Caching & Analytics Terraform AWS RDS Aurora Aurora clusters and instances with private subnet placement, storage encryption, automated backups, reader endpoints, IAM authentication, log exports, and multi AZ high availability.
Controls enforced These compliance controls are checked at terraform plan time.
Quick start ISO/IEC 27001:2022 PCI DSS v4.0 NIS2 Directive (EU 2022/2555) SOC 2 ACSC Essential Eight NIST Cybersecurity Framework v2.0 Title 21 CFR Part 11 CIS AWS Benchmark v5.0.0
module "rds-aurora" {
source = "iso27001.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} module "rds-aurora" {
source = "pcidss.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} module "rds-aurora" {
source = "nis2.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} module "rds-aurora" {
source = "soc2.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} module "rds-aurora" {
source = "acscessentialeight.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} module "rds-aurora" {
source = "nistcsf.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} module "rds-aurora" {
source = "cfrpart11.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} module "rds-aurora" {
source = "cisv500.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
# ... your arguments here
} See the Get Started guide and Registry Endpoints for details on how to customize the module for your requirements.
Migration from upstream Already using terraform-aws-modules? Change only the source URL:
Before After
module "rds-aurora" {
source = "terraform-aws-modules/rds-aurora/aws"
version = "1.0"
} module "rds-aurora" {
source = "soc2.compliance.tf/terraform-aws-modules/rds-aurora/aws"
version = "1.0"
} Same arguments. Same outputs. Controls are checked at terraform plan. See the Migration Guide for step-by-step instructions.
Reversibility No lock-in. Switch back by reverting the source URL:
module "rds-aurora" {
source = "terraform-aws-modules/rds-aurora/aws"
} Run terraform init -upgrade. Terraform state is unchanged — same resource addresses, same provider, no compliance.tf-specific resources. Controls you already applied remain in AWS.
Mapped compliance frameworks ISO/IEC 27001:2022 PCI DSS v4.0 NIS2 Directive (EU 2022/2555) SOC 2 ACSC Essential Eight NIST Cybersecurity Framework v2.0 Title 21 CFR Part 11 CIS AWS Benchmark v5.0.0
A.5.13 Labelling of information
A.8.14 Redundancy of information processing facilities
A.8.24 Use of cryptography
10.2.1.1: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.1.2: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.1.3: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.1.4: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.1.5: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.1.6: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.1.7: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.1: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.2.2: Audit logs are implemented to support the detection of anomalies and suspicious activity, and the forensic analysis of events.
10.3.1: Audit logs are protected from destruction and unauthorized modifications.
10.6.3: Time-synchronization mechanisms support consistent time settings across all systems.
3.5.1: Primary account number (PAN) is secured wherever it is stored.
5.3.4: Anti-malware mechanisms and processes are active, maintained, and monitored.
7.2.1: Access to system components and data is appropriately defined and assigned.
7.2.2: Access to system components and data is appropriately defined and assigned.
7.2.5: Access to system components and data is appropriately defined and assigned.
7.3.1: Access to system components and data is managed via an access control system(s).
7.3.2: Access to system components and data is managed via an access control system(s).
7.3.3: Access to system components and data is managed via an access control system(s).
8.2.7: User identification and related accounts for users and administrators are strictly managed throughout an accounts lifecycle.
8.2.8: If a user session has been idle for more than 15 minutes, the user is required to re-authenticate to re-activate the terminal or session
8.2.8: User identification and related accounts for users and administrators are strictly managed throughout an accounts lifecycle.
8.3.2: Strong authentication for users and administrators is established and managed.
8.3.2: Strong cryptography is used to render all authentication factors unreadable during transmission and storage on all system components
8.3.4: Strong authentication for users and administrators is established and managed.
A1.2.1: Multi-tenant service providers facilitate logging and incident response for all customers.
A1.2.3: Processes or mechanisms are implemented for reporting and addressing suspected or confirmed security incidents and vulnerabilities
4 Business continuity and crisis management
C1.1 The entity identifies and maintains confidential information to meet the entity's objectives related to confidentiality
PI1.3 Data is processed completely, accurately, and timely as authorized to meet the entity's processing integrity commitments and system requirements
PI1.5 Stored data is maintained complete, accurate, and protected from unauthorized modification to meet the entity's processing integrity commitments and system requirements
ACSC-EE-ML2-7.7: Multi-factor authentication ML2
ACSC-EE-ML3-5.3: Restrict administrative privileges ML3
ACSC-EE-ML3-8.3: Regular backups ML3
11.10(a) Validation of systems to ensure accuracy, reliability, consistent intended performance, and the ability to discern invalid or altered records
Framework coverage Which controls from this module are active under each framework endpoint.
● enforced by default · ○ not activated by this endpoint