Skip to main content
ZooKeeper 0.12.0

ZooKeeper IAM Permissions

View SourceRelease Notes

This module attaches the IAM permissions required by ZooKeeper and Exhibitor to an IAM role. These are primarily permissions used by the ZooKeeper nodes to discover each other and bootstrap the cluster.

This module is used by the zookeeper-cluster module, so you typically won't have to use it directly. However, we keep this module separate in case you decide to run ZooKeeper on top of a different type of cluster (e.g., co-located with Kafka), in which case you can include this module to handle the IAM permission details for you.

Sample Usage

main.tf

# ------------------------------------------------------------------------------------------------------
# DEPLOY GRUNTWORK'S ZOOKEEPER-IAM-PERMISSIONS MODULE
# ------------------------------------------------------------------------------------------------------

module "zookeeper_iam_permissions" {

source = "git::git@github.com:gruntwork-io/terraform-aws-zookeeper.git//modules/zookeeper-iam-permissions?ref=v0.12.0"

# ----------------------------------------------------------------------------------------------------
# REQUIRED VARIABLES
# ----------------------------------------------------------------------------------------------------

# The ID of the IAM Role used by the nodes in the ZooKeeper cluster
zookeeper_aws_iam_role_id = <INPUT REQUIRED>

}