How do I terraform Amazon MSK topics?

Viewed 25

Can I terraform using the aws_msk_configuration the topics and their partition counts and other properties so I can disable automatic topic creation on the broker?

1 Answers

You don't need an MSK specific provider for this.

There already is a Kafka Provider that should work with any kafka server, and uses internal Golang Kafka AdminClient commands (Sarama) to provision topics.

https://github.com/Mongey/terraform-provider-kafka

Related