Terraform Modules for AWS Security, Keys & Configuration Terraform AWS Secrets Manager Secrets, secret versions, rotation schedules, KMS encryption, resource policies, replication, and controlled retrieval of database passwords, API keys, and tokens.
Controls enforced These compliance controls are checked at terraform plan time.
Quick start CCCS Medium Cloud Control Profile Title 21 CFR Part 11 EU GMP Annex 11 HIPAA Omnibus Rule 2013 NIST SP 800-53 Rev 5 NYDFS Cybersecurity Regulation PCI DSS v4.0
module "secrets-manager" {
source = "cccsmedium.compliance.tf/terraform-aws-modules/secrets-manager/aws"
version = "1.0"
# ... your arguments here
} module "secrets-manager" {
source = "cfrpart11.compliance.tf/terraform-aws-modules/secrets-manager/aws"
version = "1.0"
# ... your arguments here
} module "secrets-manager" {
source = "eugmpannex11.compliance.tf/terraform-aws-modules/secrets-manager/aws"
version = "1.0"
# ... your arguments here
} module "secrets-manager" {
source = "hipaa.compliance.tf/terraform-aws-modules/secrets-manager/aws"
version = "1.0"
# ... your arguments here
} module "secrets-manager" {
source = "nist80053.compliance.tf/terraform-aws-modules/secrets-manager/aws"
version = "1.0"
# ... your arguments here
} module "secrets-manager" {
source = "nydfs23.compliance.tf/terraform-aws-modules/secrets-manager/aws"
version = "1.0"
# ... your arguments here
} module "secrets-manager" {
source = "pcidss.compliance.tf/terraform-aws-modules/secrets-manager/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 "secrets-manager" {
source = "terraform-aws-modules/secrets-manager/aws"
version = "1.0"
} module "secrets-manager" {
source = "soc2.compliance.tf/terraform-aws-modules/secrets-manager/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 "secrets-manager" {
source = "terraform-aws-modules/secrets-manager/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 CCCS Medium Cloud Control Profile Title 21 CFR Part 11 EU GMP Annex 11 HIPAA Omnibus Rule 2013 NIST SP 800-53 Rev 5 NYDFS Cybersecurity Regulation PCI DSS v4.0
SC-12(3): Asymmetric Keys
11.30 Controls for open systems
7.1 Data Storage - Damage Protection
164.312(e)(2)(ii) Encryption
8.3.2: Strong cryptography is used to render all authentication factors unreadable during transmission and storage on all system components
Framework coverage Which controls from this module are active under each framework endpoint.
● enforced by default · ○ not activated by this endpoint