oci_managed_kafka_kafka_cluster_superusers_management
This resource provides the Kafka Cluster Superusers Management resource in Oracle Cloud Infrastructure Managed Kafka service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/kafka/latest/KafkaClusterSuperusersManagement
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/managed_kafka Adds a SASL superuser to the Kafka cluster. A generated password will be updated to the specified vault.
Example Usage
resource "oci_managed_kafka_kafka_cluster_superusers_management" "test_kafka_cluster_superusers_management" {
#Required
kafka_cluster_id = oci_managed_kafka_kafka_cluster.test_kafka_cluster.id
enable_superuser = var.enable_superuser
#Optional
compartment_id = var.compartment_id
secret_id = oci_vault_secret.test_secret.id
}
Argument Reference
The following arguments are supported:
compartment_id- (Optional) The OCID of the compartment that contains the superuser secret.kafka_cluster_id- (Required) The OCID of the KafkaCluster.secret_id- (Optional) The OCID of the secret that will be populated with the generated superuser password.enable_superuser- (Required) (Updatable) A required field when set totruecalls enable action and when set tofalsecalls disable action.
** 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 Superusers Management
* update - (Defaults to 20 minutes), when updating the Kafka Cluster Superusers Management
* delete - (Defaults to 20 minutes), when destroying the Kafka Cluster Superusers Management