Closed askoriy closed 3 years ago
Thanks for catching this @askoriy. I've got a pull request to address it. Given that the confluentcloud_schema_registry
resource hasn't been included in a real release, I'm going to skip writing a state migration for this, but that'll mean that you need to manually update the ID of the resource in your state to reflect the new Id once you update the provider.
Update ID in the state is not a problem. Thanks for quick reply and fix.
ID of created
confluentcloud_schema_registry
is expected to be the ID in confluent.cloud API responce, likelsrc-n5z6d
, similar to IDs of other resources created by terraform:Instead, it has the value
account schema-registry env-qp956
. So with it there is no way to create Schema registry API key.If the ID would be correct than Schema registry API key could be created with
But Terraform returns an error:
Error: api_keys: cluster, key, or account not found
I'm not sure if the problem is in Terraform module or in used go-client-confluent-cloud library