You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a topic with custom configuration results in Error: Empty Summary: This is always a bug in the provider and should be reported to the provider developers.
#485
Open
LaureanG opened this issue
Dec 16, 2024
· 0 comments
Hi, every time I perform a terraform plan in my provisioned mks cluster (Kafka version 3.7.x), the provider detects a change in the kafka topic config and tries to modify it even though there are no changes.
At apply it fails to modify it and throws the error above. I am using terraform v1.8.4, aws v5.78.0 and mongey/kafka v0.8.1. Tried also with the provider versions v0.7.1 and v0.7.0 with the same result.
Creating a topic without configuration succeeds and shows no changes at subsequent plan/apply steps.
Creating a topic with any custom configuration properties succeeds at first apply. Terraform state show displays it correctly including its configuration, however, performing a second apply fails with the same error.
Hi, every time I perform a terraform plan in my provisioned mks cluster (Kafka version 3.7.x), the provider detects a change in the kafka topic config and tries to modify it even though there are no changes.
At apply it fails to modify it and throws the error above. I am using terraform v1.8.4, aws v5.78.0 and mongey/kafka v0.8.1. Tried also with the provider versions v0.7.1 and v0.7.0 with the same result.
Creating a topic without configuration succeeds and shows no changes at subsequent plan/apply steps.
Creating a topic with any custom configuration properties succeeds at first apply. Terraform state show displays it correctly including its configuration, however, performing a second apply fails with the same error.
The code looks like this:
provider "kafka" {
bootstrap_servers = [
...
]
tls_enabled = true
sasl_mechanism = "aws-iam"
sasl_aws_region = "eu-central-1"
sasl_aws_role_arn = aws_iam_role.kafka_role.arn
}
resource "kafka_topic" "this" {
name = "test-topic"
replication_factor = 1
partitions = 3
config = {
"segment.ms" = "20000"
}
}
The text was updated successfully, but these errors were encountered: