Currently, I am using “Mongey/kafka” provider and now I have to switch to “confluentinc/confluent” provider with my existing terraform pipeline.
How can I do this ?
Steps currently following to switch the provider
Changing the provider in main.tf file and running following command to replace provider
“terraform state replace-provider Mongey/kafka confluentinc/confluent”
and after that I run
“terraform init” command
But after that when I am running
it is giving “no schema available for module.iddn_news_cms_kafka_topics.kafka_acl.topic_writer while reading state; this is a bug in terraform and should be reported” error.
Is there any where I will switch to new provider without disturbing the existing resources(kafka resources) created using the terraform pipeline?