DEV Community

leroykayanda
leroykayanda

Posted on

Terraform module to create an amazon MSK / apache kafka cluster.

This is a terraform module to set up an amazon MSK / apache kafka cluster.

Terraform registry

    module "amazon_msk_cluster" {
      source                      = "leroykayanda/MSK/aws"
      version                     = "1.0.1"
      microservice_name           = var.microservice_name
      env                         = var.env
      team                        = var.team
      kafka_client_subnets        = var.kafka_client_subnets
      broker_ebs_volume_size      = var.broker_ebs_volume_size
      broker_instance_type        = var.broker_instance_type
      kafka_version               = var.kafka_version
      number_of_broker_nodes      = var.number_of_broker_nodes
      kafka_enhanced_monitoring   = var.kafka_enhanced_monitoring
      kafka_logs_retention_period = var.kafka_logs_retention_period
      security_group_id           = aws_security_group.kafka_sg.id
      public_access               = var.kafka_public_access
    }
Enter fullscreen mode Exit fullscreen mode

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay