ISO 27001 Compliant Terraform Modules
Enforced Before terraform apply
Annex A technological controls require encryption, logging, access management, and network security on every resource. These modules enforce those controls before terraform apply.
ISO 27001 is the international standard for information security management. Enterprise procurement teams in Europe and Asia-Pacific treat certification as a gate - no certificate, no signed contract. If your customers ask for an ISO 27001 certificate, this is where you start.
146
Mapped Controls
88 enforced by modules
36
Clauses
51
AWS Modules
No credit card or AWS account needed to start.
From the maintainer of terraform-aws-modules - 2B+ downloads.
Three Steps to ISO 27001 Compliant Infrastructure
For terraform-aws-modules users, migration is a one-line change. Same workflow, same interface. Bringing your own modules? We can make those compliant too. Join the beta.
Change One Line
Run Terraform Commands
Compliance Enforced
Controls with module coverage are enforced automatically. Enforced controls ship as compliant defaults; mapped controls without module coverage stay visible for your team.
Controls Mapped for ISO 27001
146 controls mapped, 88 enforced by modules, across 36 clauses
Enforced: the module configures this by default. Detected: mapped for visibility and evidence, not set by the module.
- Security Hub should be enabled for an AWS account
- Well-Architected Tool workloads should have no high or medium risks
ISO 27001 Scope: What We Handle vs. What You Own
compliance.tf handles the infrastructure configuration layer for ISO 27001. Here is what it covers and what stays with your team.
compliance.tf Enforces for ISO 27001
- Annex A technological controls (A.8 family: cryptography, logging, access, network)
- ISO 27001:2022 control mapping with specific Annex A clause IDs
- Deployment-time evidence generation via AWS-native tools
- Upstream module updates (terraform-aws-modules kept in sync)
- Exception management with audit trail
- Control documentation and Annex A mapping matrices
Your Team Still Handles for ISO 27001
- Information Security Management System (ISMS) documentation
- Risk assessment and treatment plans (Clauses 6.1, 8.2)
- Management reviews and internal audits (Clauses 9.2, 9.3)
- Competence, awareness, and training programs (Clause 7.2)
- Incident management procedures (A.5.24–A.5.28)
- Supplier relationship security (A.5.19–A.5.23)
- Physical security controls (A.7 family)
compliance.tf handles the Annex A technological controls (A.8 family) that map to AWS resource configuration. Your ISMS documentation, risk assessments, and organizational controls remain your team's responsibility.
Operational Rules (lifecycle blocks, tagging, instance restrictions) are also applied alongside ISO 27001 compliance controls.
ISO 27001 Audit Evidence - Built Into Your Workflow
Your auditor does not need to trust compliance.tf. Evidence comes from AWS-native tools they already accept.
Evidence your auditor already trusts
Every compliance.tf module enforces controls before terraform apply. When AWS Config, Security Hub, or Audit Manager evaluates your resources, they report clean findings because the controls are built into the modules, not bolted on after the fact.
- AWS Config rules validate resource configuration continuously
- Security Hub aggregates findings across accounts and regions
- Audit Manager generates assessment reports mapped to ISO 27001
- Downloadable control mapping matrices for your auditor
Prevention vs. Detection for ISO 27001
compliance.tf prevents non-compliant deployments. Scanning tools detect them after the fact. Most mature programs use both.
| Dimension | IaC Scanning Checkov / Trivy / Prowler | Compliance.tf |
|---|---|---|
| Prevents non-compliant configs before terraform apply | No (post-plan scan) | Yes |
| Maps controls to framework clause IDs | Partial | Yes |
| Produces auditor-accepted evidence (AWS-native) | Scan reports only | Yes |
| Exception management with audit trail | Suppression rules | Yes |
| Same interface as terraform-aws-modules | N/A | Yes |
| Keeps pace with upstream module updates | N/A | Yes |
| Catches runtime drift / console changes | Yes | No |
| Covers non-Terraform resources | Yes | No |
| Internal engineering time | Medium | Low |
We recommend keeping scanning tools active alongside compliance.tf for defense in depth. The scanner validates what compliance.tf already enforces.
ISO 27001 Compliance Questions
Is this ISO 27001:2013 or 2022?
Which Annex A controls does this cover?
Does compliance.tf help with ISO 27001 certification?
How is this different from Checkov, Trivy, or Prowler?
Can I adopt this gradually, or is it all-or-nothing?
Will my auditor accept this as evidence?
What if I want to switch back or compliance.tf shuts down?
Start Deploying ISO 27001-Compliant Infrastructure
$1,000/year for all 51 modules, all frameworks. 30-day free trial.
No credit card required. Switch back at any time.
Or browse the ISO 27001 registry first - no signup needed: iso27001.compliance.tf
Stay Informed About New Features
Join the mailing list for releases, new modules, and roadmap updates. No spam. Unsubscribe anytime.
Not convinced yet, or missing a feature you need? Send us an email - we really want to hear your feedback!