Skip to content

ContentSquare/terraform-provider-zookeeper

Repository files navigation

Terraform logo

Terraform Provider for Zookeeper

The Terraform Zookeeper provider is a plugin for Terraform that allows interacting with zookeeper node. This provider is maintained by @contentsquare

Usage

TF 0.13+

terraform {
  required_providers {
    zookeeper = {
      
      source  = "contentsquare/zookeeper"
      version = "~> 1.0"
    }
  }
}

Examples

Testing

Acceptance tests require a zookeeper node in order to create/update/delete znodes

Start a zookeeper container, and expose tcp port 2181 onto localhost

~# docker run --rm -p 2181:2181 -it zookeeper

Run the acceptance tests:

make testacc