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
View this module on the compliance.tf registry — versions, inputs, and outputs →
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:
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
Framework coverage
Which controls from this module are active under each framework endpoint.
| Control | PCI DSS v4.0 | SOC 2 |
|---|---|---|
| MSK clusters should be encrypted in transit among broker nodes | ● | ● |
| MSK clusters should have public access disabled | ○ | ○ |
| MSK clusters should disable unauthenticated access | ○ | ○ |
● enforced by default · ○ not activated by this endpoint