{"id":19978345,"url":"https://github.com/geekcell/terraform-aws-msk-cluster","last_synced_at":"2025-03-01T19:15:59.085Z","repository":{"id":65736357,"uuid":"598513368","full_name":"geekcell/terraform-aws-msk-cluster","owner":"geekcell","description":"Terraform module to provision an AWS MSK Cluster.","archived":false,"fork":false,"pushed_at":"2023-06-28T13:04:24.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-01T18:48:52.259Z","etag":null,"topics":["aws","kafka","msk","msk-cluster","terraform","terraform-module"],"latest_commit_sha":null,"homepage":"https://www.geekcell.io","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geekcell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-07T09:10:48.000Z","updated_at":"2023-05-11T12:56:53.000Z","dependencies_parsed_at":"2024-11-13T03:33:13.689Z","dependency_job_id":"261f0c36-092c-4d3d-bfe9-d40f6eaceee4","html_url":"https://github.com/geekcell/terraform-aws-msk-cluster","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":"geekcell/terraform-aws-module-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-msk-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-msk-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-msk-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcell%2Fterraform-aws-msk-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekcell","download_url":"https://codeload.github.com/geekcell/terraform-aws-msk-cluster/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241411543,"owners_count":19958753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","kafka","msk","msk-cluster","terraform","terraform-module"],"created_at":"2024-11-13T03:33:04.552Z","updated_at":"2025-03-01T19:15:59.059Z","avatar_url":"https://github.com/geekcell.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n[![Geek Cell GmbH](https://raw.githubusercontent.com/geekcell/.github/main/geekcell-github-banner.png)](https://www.geekcell.io/)\n\n### Code Quality\n[![License](https://img.shields.io/github/license/geekcell/terraform-aws-msk-cluster)](https://github.com/geekcell/terraform-aws-msk-cluster/blob/master/LICENSE)\n[![GitHub release (latest tag)](https://img.shields.io/github/v/release/geekcell/terraform-aws-msk-cluster?logo=github\u0026sort=semver)](https://github.com/geekcell/terraform-aws-msk-cluster/releases)\n[![Release](https://github.com/geekcell/terraform-aws-msk-cluster/actions/workflows/release.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-msk-cluster/actions/workflows/release.yaml)\n[![Validate](https://github.com/geekcell/terraform-aws-msk-cluster/actions/workflows/validate.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-msk-cluster/actions/workflows/validate.yaml)\n[![Lint](https://github.com/geekcell/terraform-aws-msk-cluster/actions/workflows/linter.yaml/badge.svg)](https://github.com/geekcell/terraform-aws-msk-cluster/actions/workflows/linter.yaml)\n\n\u003c!--\nComment in if Bridgecrew is configured\n\n### Security\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/general)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=INFRASTRUCTURE+SECURITY)\n\n#### Cloud\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_aws)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+AWS+V1.2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_aws_13)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+AWS+V1.3)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_azure)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+AZURE+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_azure_13)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+AZURE+V1.3)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_gcp)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+GCP+V1.1)\n\n##### Container\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_kubernetes_16)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+KUBERNETES+V1.6)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_eks_11)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+EKS+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_gke_11)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+GKE+V1.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/cis_kubernetes)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=CIS+KUBERNETES+V1.5)\n\n#### Data protection\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/soc2)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=SOC2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/pci)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=PCI-DSS+V3.2)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/pci_dss_v321)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=PCI-DSS+V3.2.1)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/iso)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=ISO27001)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/nist)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=NIST-800-53)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/hipaa)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=HIPAA)\n[![Infrastructure Tests](https://www.bridgecrew.cloud/badges/github/geekcell/terraform-aws-msk-cluster/fedramp_moderate)](https://www.bridgecrew.cloud/link/badge?vcs=github\u0026fullRepo=geekcell%2Fterraform-aws-msk-cluster\u0026benchmark=FEDRAMP+%28MODERATE%29)\n\n--\u003e\n\n# Terraform AWS MSK Cluster Module\n\nTerraform module which creates a MSK Cluster. The focus on this module lies within it's simplicity by providing\ndefault values that should make sense for most use cases.\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_client_subnets\"\u003e\u003c/a\u003e [client\\_subnets](#input\\_client\\_subnets) | A list of subnets to connect to in client VPC. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_cluster_name\"\u003e\u003c/a\u003e [cluster\\_name](#input\\_cluster\\_name) | Name of the MSK cluster. | `string` | n/a | yes |\n| \u003ca name=\"input_enable_appautoscaling\"\u003e\u003c/a\u003e [enable\\_appautoscaling](#input\\_enable\\_appautoscaling) | Enable or disable MSK App Autoscaling. | `bool` | `false` | no |\n| \u003ca name=\"input_instance_type\"\u003e\u003c/a\u003e [instance\\_type](#input\\_instance\\_type) | Specify the instance type to use for the kafka brokers. | `string` | n/a | yes |\n| \u003ca name=\"input_kafka_version\"\u003e\u003c/a\u003e [kafka\\_version](#input\\_kafka\\_version) | Specify the desired Kafka software version. | `string` | n/a | yes |\n| \u003ca name=\"input_number_of_broker_nodes\"\u003e\u003c/a\u003e [number\\_of\\_broker\\_nodes](#input\\_number\\_of\\_broker\\_nodes) | The desired total number of broker nodes in the kafka cluster. | `number` | `3` | no |\n| \u003ca name=\"input_security_groups\"\u003e\u003c/a\u003e [security\\_groups](#input\\_security\\_groups) | A list of the security groups to associate with the elastic network interfaces to control who can communicate with the cluster. | `list(string)` | n/a | yes |\n| \u003ca name=\"input_tags\"\u003e\u003c/a\u003e [tags](#input\\_tags) | Tags to add to the AWS Customer Managed Key. | `map(any)` | `{}` | no |\n| \u003ca name=\"input_volume_size\"\u003e\u003c/a\u003e [volume\\_size](#input\\_volume\\_size) | The size in GiB of the EBS volume for the data drive on each broker node. | `number` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| \u003ca name=\"output_bootstrap_brokers_tls\"\u003e\u003c/a\u003e [bootstrap\\_brokers\\_tls](#output\\_bootstrap\\_brokers\\_tls) | One or more DNS names (or IP addresses) and TLS port pairs. |\n| \u003ca name=\"output_zookeeper_connect_string\"\u003e\u003c/a\u003e [zookeeper\\_connect\\_string](#output\\_zookeeper\\_connect\\_string) | A comma separated list of one or more hostname:port pairs to use to connect to the Apache Zookeeper cluster. |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_aws\"\u003e\u003c/a\u003e [aws](#provider\\_aws) | \u003e= 4.4 |\n\n## Resources\n\n- resource.aws_msk_cluster.main (main.tf#7)\n\n# Examples\n### Basic Example\n```hcl\nmodule \"basic-example\" {\n  source          = \"../../\"\n  client_subnets  = [\"subnet-12345678\", \"subnet-87654321\"]\n  cluster_name    = \"cluster1\"\n  instance_type   = \"kafka.t3.small\"\n  kafka_version   = \"3.2.0\"\n  security_groups = [\"sg-12345678\"]\n  volume_size     = 10\n}\n```\n### With Autoscaling\n```hcl\nmodule \"with-autoscaling\" {\n  source          = \"../../\"\n  client_subnets  = [\"subnet-12345678\", \"subnet-87654321\"]\n  cluster_name    = \"cluster1\"\n  instance_type   = \"kafka.t3.small\"\n  kafka_version   = \"3.2.0\"\n  security_groups = [\"sg-12345678\"]\n  volume_size     = 10\n\n  enable_appautoscaling = true\n}\n```\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcell%2Fterraform-aws-msk-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekcell%2Fterraform-aws-msk-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcell%2Fterraform-aws-msk-cluster/lists"}