Confluent Cloud Environment Module

Purpose

Terraform module which creates environments in Confluent Cloud.

Description

Confluent Cloud environments contain Kafka clusters and deployed components such as Connect, ksqlDB, and Schema Registry.

For more detail, please see environments documentation.

Usage Instructions

Copy and paste into your Terraform configuration, insert or update the variables, and run terraform init:

module "dev_environment" {
  source      = "github.com/vcosqui/terraform-confluent-kafka-environment"
  environment = {
    display_name = "dev-env"
  }
}

Preconditions and Assumptions

The credentials for Confluent Cloud must be provided

export TF_VAR_confluent_cloud_api_key="<CCLOUD_API_KEY>
export TF_VAR_confluent_cloud_api_secret="<CCLOUD_API_SECRET>

Inputs

Name Description Type Default Required
environment_name The environment name that will be displayed in the web UI. string - yes

Outputs

Name Description Type
environment The environment definition.
object({
id = optional(string)
display_name = string
})

Versions

Version Major changes
1 Created module