Terraform module which creates environments in Confluent Cloud.
Confluent Cloud environments contain Kafka clusters and deployed components such as Connect, ksqlDB, and Schema Registry.
For more detail, please see environments documentation.
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"
}
}
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>
Name | Description | Type | Default | Required |
---|---|---|---|---|
environment_name | The environment name that will be displayed in the web UI. | string | - | yes |
Name | Description | Type |
---|---|---|
environment | The environment definition. | object({ |
Version | Major changes |
---|---|
1 | Created module |