Kafka Cluster
Creates and manages IonosCloud Kafka Cluster objects.
Manages a Kafka Cluster on IonosCloud.
Example Usage
This resource will create an operational Kafka Cluster. After this section completes, the provisioner can be called.
Argument reference
id
- (Computed)[string] The UUID of the Kafka Cluster.name
- (Required)[string] Name of the Kafka Cluster.location
- (Optional)[string] The location of the Kafka Cluster. Possible values:de/fra
,de/txl
. If this is not set and if no value is provided for theIONOS_API_URL
env var, the defaultlocation
will be:de/fra
.version
- (Required)[string] Version of the Kafka Cluster. Possible values:3.7.0
size
- (Required)[string] Size of the Kafka Cluster. Possible values:XS
,S
connections
- (Required) Connection information of the Kafka Cluster. Minimum items: 1, maximum items: 1.datacenter_id
- (Required)[string] The datacenter to connect your instance to.lan_id
- (Required)[string] The numeric LAN ID to connect your instance to.broker_addresses
- (Required)[list] IP addresses and subnet of cluster brokers. Note the following unavailable IP range: 10.224.0.0/11
broker_addresses
- (Computed)[list] IP address and port of cluster brokers.
⚠ NOTE:
IONOS_API_URL_KAFKA
can be used to set a custom API URL for the kafka resource.location
field needs to be empty, otherwise it will override the custom API URL. Settingtoken
orIONOS_API_URL
does not have any effect.
Import
Kafka Cluster can be imported using the location
and kafka cluster id
:
Last updated