Sign in
Menu
Sign up
Docs

Terraform modules

Drop-in replacements for terraform-aws-modules with compliance controls enforced at terraform plan time. Same arguments, same outputs.

The compliance.tf catalog runs to 51 modules, every one of them served from the registry. The 36 below, across 8 categories, have a published control breakdown. Each one is API-compatible with its upstream terraform-aws-modules counterpart. Change the source URL, run terraform plan, and controls are checked before anything gets deployed.

Storage

ModuleControlsFrameworks
EFSAmazon EFS file systems with mount targets, access points, backup policies, lifecycle management, encryption at rest, and security group controlled NFS access.523
FSxAmazon FSx file systems for Windows, Lustre, NetApp ONTAP, or OpenZFS with storage capacity, throughput, backups, encryption, and deployment in private subnets.922
S3 BucketS3 buckets with versioning, default encryption, public access blocks, bucket policies, access logging, lifecycle rules, replication, event notifications, and optional object lock controls.1727

Compute & Containers

ModuleControlsFrameworks
AutoscalingAuto Scaling groups with launch templates, instance refresh, health checks, scaling policies, mixed instance options, IAM instance profiles, and security group based network controls.25
EC2 InstanceEC2 instances with IAM roles, EBS encryption, IMDSv2, security groups, detailed monitoring, user data, placement options, and optional Elastic IPs or attached volumes.1125
LambdaLambda functions with IAM execution roles, VPC configuration, log groups, reserved concurrency, dead letter handling, environment variables, code signing support, and optional KMS encryption.1021
ECSECS clusters, services, and task definitions with IAM roles, logging, load balancer integration, service discovery, capacity providers, and Fargate or EC2 runtime settings.822
EKSEKS clusters with managed node groups, Fargate profiles, cluster encryption, IAM and OIDC integration, VPC networking, control plane logging, security groups, and core add-ons.1122
ECRECR repositories with image scanning, immutable tags, KMS encryption, lifecycle policies, repository policies, replication, and controlled push and pull access.28

Networking & Edge

ModuleControlsFrameworks
ALBApplication Load Balancers with listeners, listener rules, target groups, TLS certificates, access logs, WAF integration, and security group restricted ingress.1323
CloudFrontCloudFront distributions with origins, origin access control, TLS certificates, cache behaviors, WAF association, logging, geo restrictions, and HTTPS only content delivery.916
ELBClassic Load Balancers with listeners, health checks, SSL certificates, cross zone balancing, connection draining, access logging, and security group controlled ingress.315
Network FirewallAWS Network Firewall rule groups, firewall policies, firewalls, logging destinations, stateless and stateful inspection rules, and subnet placement for traffic filtering.45
VPCVPCs with public and private subnets, route tables, NAT gateways, Internet gateways, VPC endpoints, flow logs, network ACLs, and security group foundations for workload isolation.421
VPN GatewaySite to site VPN connections with customer gateways, VPN gateways or transit gateway attachments, tunnels, routing propagation, and encrypted connectivity between on premises networks and AWS.12
WAFv2WAFv2 web ACLs, rule groups, IP sets, and regex pattern sets with managed and custom rules, CloudWatch visibility metrics, logging configuration, and CloudFront or regional scope for request filtering.17
Security GroupTerraform module which creates EC2 security groups on AWS with support for ingress/egress rules, computed rules, and rule descriptions.213

Databases, Caching & Analytics

ModuleControlsFrameworks
DMSDatabase Migration Service replication instances, source and target endpoints, replication tasks, subnet groups, logging, and controlled network placement for data migration.519
DynamoDB TableDynamoDB tables with server side encryption, point in time recovery, TTL, streams, autoscaling, global tables, IAM access controls, and backup oriented settings.420
ElastiCacheRedis or Memcached clusters and replication groups with subnet groups, security groups, transit and at rest encryption, auth tokens, parameter groups, and automatic failover.1022
OpenSearchOpenSearch domains with VPC placement, encryption at rest, node to node encryption, fine grained access control, audit logs, TLS enforcement, and snapshot configuration.1222
RDSRDS instances with subnet groups, security groups, storage encryption, automated backups, maintenance windows, performance insights, IAM authentication, and log exports.2126
RDS AuroraAurora clusters and instances with private subnet placement, storage encryption, automated backups, reader endpoints, IAM authentication, log exports, and multi AZ high availability.1625
RedshiftRedshift clusters or serverless workgroups with VPC networking, encryption, audit logging, snapshot settings, parameter groups, enhanced VPC routing, and controlled access.1723
EMREMR clusters and instance groups with security configurations, encryption in transit and at rest, Kerberos, IAM roles, bootstrap actions, logging, and deployment in private subnets.522

Security, Keys & Configuration

ModuleControlsFrameworks
ACMACM certificates and validation records for public or private TLS, certificate renewal, and associations used by load balancers, CloudFront distributions, and APIs.25
KMSKMS keys, aliases, grants, key policies, rotation, multi Region options, and tightly scoped permissions used to encrypt data across AWS services.120
Secrets ManagerSecrets, secret versions, rotation schedules, KMS encryption, resource policies, replication, and controlled retrieval of database passwords, API keys, and tokens.17
SSM ParameterSystems Manager Parameter Store parameters with KMS encryption, parameter policies, versioning, tier selection, and controlled access to application configuration and secret values.11

Messaging & Streaming

ModuleControlsFrameworks
MSK Kafka ClusterMSK clusters with broker configuration, encryption in transit and at rest, client authentication, logging, VPC networking, and cluster policies for streaming workloads.521
SNSSNS topics and subscriptions with KMS encryption, topic policies, delivery policies, dead letter configuration, and controlled fan out of events and notifications.118
SQSSQS queues with server side encryption, access policies, FIFO options, visibility timeout, redrive policies, and dead letter queues for durable message processing.24

API & Application Integration

ModuleControlsFrameworks
API Gateway v2HTTP and WebSocket APIs with routes, stages, custom domains, TLS certificates, access logs, JWT or Lambda authorizers, throttling, and private or public integrations.521
AppSyncGraphQL APIs with resolvers, data sources, API keys or IAM and Cognito authentication, logging, caching, custom domains, and fine grained access patterns.48
Step FunctionsState machines with IAM execution roles, logging, tracing, retries, timeouts, and workflow definitions for auditable application orchestration.321

Observability

ModuleControlsFrameworks
CloudWatchLog groups, metric alarms, dashboards, retention settings, subscription filters, and event rules used for monitoring, alerting, forensic visibility, and audit support.422
Compliance.tf modules enforce SOC 2, PCI DSS, HIPAA, and 35+ frameworks with a single source URL change. No extra tools, no post-deploy scanning.

Start free trialGet started

On this page