Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@LaureanG
Copy link

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"
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant