Error: 400 Bad Request: The topic NAME currently has 6 partition(s); 2 would not be an increase.
We only added the partition_count line, the code otherwise is the same one that was used to create the topic
Expected behaviour
As you can't decrease the partition count in an existing topic, Terraform should recreate the topic with the new partiton count if prevent_destroy is set to false
Hi,
We are trying to lowe the Partition Count of our topics via Terraform, those topics were created with Terraform too
Terraform Version : latest (right now 1.8.3) Confluent Provider Version : 1.76.0
Example code of our topic definition
Error
We only added the
partition_count
line, the code otherwise is the same one that was used to create the topicExpected behaviour
As you can't decrease the partition count in an existing topic, Terraform should recreate the topic with the new partiton count if prevent_destroy is set to false