Terraform AWS MSK Kafka Cluster MSK clusters with broker configuration, encryption in transit and at rest, client authentication, logging, VPC networking, and cluster policies for streaming workloads.
Controls enforced These compliance controls are checked at terraform plan time.
Quick start ISO/IEC 27001:2022 NIS2 Directive (EU 2022/2555) NIST Cybersecurity Framework v2.0 PCI DSS v4.0 SOC 2
module "msk-kafka-cluster" {
source = "iso27001.compliance.tf/terraform-aws-modules/msk-kafka-cluster/aws"
version = "1.0"
# ... your arguments here
} module "msk-kafka-cluster" {
source = "nis2.compliance.tf/terraform-aws-modules/msk-kafka-cluster/aws"
version = "1.0"
# ... your arguments here
} module "msk-kafka-cluster" {
source = "nistcsf.compliance.tf/terraform-aws-modules/msk-kafka-cluster/aws"
version = "1.0"
# ... your arguments here
} module "msk-kafka-cluster" {
source = "pcidss.compliance.tf/terraform-aws-modules/msk-kafka-cluster/aws"
version = "1.0"
# ... your arguments here
} module "msk-kafka-cluster" {
source = "soc2.compliance.tf/terraform-aws-modules/msk-kafka-cluster/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 "msk-kafka-cluster" {
source = "terraform-aws-modules/msk-kafka-cluster/aws"
version = "1.0"
} module "msk-kafka-cluster" {
source = "soc2.compliance.tf/terraform-aws-modules/msk-kafka-cluster/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 "msk-kafka-cluster" {
source = "terraform-aws-modules/msk-kafka-cluster/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 NIS2 Directive (EU 2022/2555) NIST Cybersecurity Framework v2.0 PCI DSS v4.0 SOC 2
A.8.12 Data leakage prevention
A.8.24 Use of cryptography
6 Security in network and information systems acquisition, development and maintenance
2.2.7: System components are configured and managed securely.
4.2.1.1: An inventory of the entity's trusted keys and certificates used to protect PAN during transmission is maintained
4.2.1.1: PAN is protected with strong cryptography during transmission.
4.2.1: PAN is protected with strong cryptography during transmission.
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
CC6.7 The entity restricts the transmission, movement, and removal of information to authorized internal and external users and processes, and protects it during transmission, movement, or removal to meet the entity's objectives
Framework coverage Which controls from this module are active under each framework endpoint.
● enforced by default · ○ not activated by this endpoint