Terraform module reference¶
Reference for the Charmed Apache Kafka Terraform module, used with the Juju Terraform provider.
See also: How to deploy via Terraform.
Input variables¶
Variable |
Type |
Default |
Description |
|---|---|---|---|
|
|
(required) |
Juju model UUID to deploy to |
|
|
|
Deployment profile: |
|
|
|
Apache Kafka broker application configuration |
|
|
|
Apache Kafka KRaft controller application configuration |
|
|
|
Data Integrator application configuration |
|
|
|
Kafka Connect application configuration |
|
|
|
Karapace Schema Registry application configuration |
|
|
|
Kafbat Kafka UI application configuration |
|
|
|
TLS provider endpoint for client relations |
|
|
|
COS offers for observability ( |
Application configuration objects¶
The broker, controller, connect, karapace, ui, and integrator variables accept objects with the following fields:
Field |
Type |
Description |
|---|---|---|
|
|
Name of the Juju application |
|
|
Charm channel to deploy from |
|
|
Application configuration |
|
|
Juju constraints (default: |
|
|
Charm resources |
|
|
Charm revision to deploy |
|
|
Application base (default: |
|
|
Number of units to deploy |
|
|
Storage directives (broker and controller only) |
|
|
List of machine resources for deployment |
All fields are optional — defaults are set per application. See the module source for the full list of defaults.
Outputs¶
Output |
Description |
|---|---|
|
Map of all deployed application names |
|
Map of cross-model offer URLs ( |