Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconmodules
file-type-iconbash-commons
file-type-iconexhibitor-shared-config
file-type-iconinstall-exhibitor
file-type-iconinstall-open-jdk
file-type-iconinstall-oracle-jdk
file-type-iconinstall-supervisord
file-type-iconinstall-zookeeper
file-type-iconprecommit-hooks
file-type-iconrun-exhibitor
file-type-iconrun-health-checker
file-type-iconzookeeper-cluster
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconzookeeper-iam-permissions
file-type-iconzookeeper-security-group-rules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-icon.pre-commit-hooks.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md

Browse the Repo

file-type-icon.circleci
file-type-iconexamples
file-type-iconmodules
file-type-iconbash-commons
file-type-iconexhibitor-shared-config
file-type-iconinstall-exhibitor
file-type-iconinstall-open-jdk
file-type-iconinstall-oracle-jdk
file-type-iconinstall-supervisord
file-type-iconinstall-zookeeper
file-type-iconprecommit-hooks
file-type-iconrun-exhibitor
file-type-iconrun-health-checker
file-type-iconzookeeper-cluster
file-type-iconREADME.md
file-type-iconmain.tf
file-type-iconoutputs.tf
file-type-iconvars.tf
file-type-iconzookeeper-iam-permissions
file-type-iconzookeeper-security-group-rules
file-type-icontest
file-type-icon.gitignore
file-type-icon.pre-commit-config.yaml
file-type-icon.pre-commit-hooks.yaml
file-type-iconCODEOWNERS
file-type-iconLICENSE.txt
file-type-iconREADME.md
Apache ZooKeeper

Apache ZooKeeper

Deploy an Apache ZooKeeper cluster. Supports automatic bootstrap, Exhibitor, zero-downtime rolling deployment, and auto healing.

Code Preview

Preview the Code

mobile file icon

vars.tf

down
  • # ---------------------------------------------------------------------------------------------------------------------
  • # REQUIRED PARAMETERS
  • # You must provide a value for each of these parameters.
  • # ---------------------------------------------------------------------------------------------------------------------
  • variable "cluster_name" {
  • description = "The name of the ZooKeeper cluster (e.g. zookeeper-stage). This variable is used to namespace all resources created by this module."
  • type = string
  • }
  • variable "ami_id" {
  • description = "The ID of the AMI to run in this cluster. Should be an AMI that has ZooKeeper and Exhibitor installed by the install-zookeeper and install-exhibitor modules."
  • type = string
  • }
  • variable "instance_type" {
  • description = "The type of EC2 Instances to run for each node in the cluster (e.g. t2.micro)."
  • type = string
  • }
  • variable "aws_region" {
  • description = "The AWS region to deploy into."
  • type = string
  • }

Questions? Ask away.

We're here to talk about our services, answer any questions, give advice, or just to chat.

Ready to hand off the Gruntwork?