oci_managed_kafka_kafka_cluster_config

This resource provides the Kafka Cluster Config resource in Oracle Cloud Infrastructure Managed Kafka service.

Creates a KafkaClusterConfig.

Example Usage

resource "oci_managed_kafka_kafka_cluster_config" "test_kafka_cluster_config" {
	#Required
	compartment_id = var.compartment_id
	latest_config {
		#Required
		properties = var.kafka_cluster_config_latest_config_properties

		#Optional
		config_id = oci_apm_config_config.test_config.id
		time_created = var.kafka_cluster_config_latest_config_time_created
		version_number = var.kafka_cluster_config_latest_config_version_number
	}

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	display_name = var.kafka_cluster_config_display_name
	freeform_tags = {"Department"= "Finance"}
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Kafka Cluster Config * update - (Defaults to 20 minutes), when updating the Kafka Cluster Config * delete - (Defaults to 20 minutes), when destroying the Kafka Cluster Config

Import

KafkaClusterConfigs can be imported using the id, e.g.

$ terraform import oci_managed_kafka_kafka_cluster_config.test_kafka_cluster_config "id"