Closed venkatamutyala closed 2 years ago
Thanks for creating an issue @venkatamutyala, we'll try to address it in our next 0.3.0
release of TF Provider.
@venkatamutyala FYI you can currently fix it by editing TF state manually to use your new Cluster API Key (until we release a new version of TF provider).
Steps to recreate: 1) Create cluster specific API keys in Confluent Cloud Console. 2) Create a topic resource using the keys from #1: https://registry.terraform.io/providers/confluentinc/confluentcloud/latest/docs/resources/confluentcloud_kafka_topic 3) Remove API Keys (#1) in Confluent Cloud 4) Create new set of credentials (#1) and update the credentials block (#2) 5) Run a plan/apply and get a 401 error 6) Check the state file and you will see the old credentials that were removed