Closed linouk23 closed 5 months ago
confluent_tag_binding resource should support entity_name updates for sr_record and sr_field
confluent_tag_binding
When schema is update in place, the next terraform plan should be able to apply these updates seamlessly:
terraform plan
resource "confluent_tag_binding" "schema" { tag_name = confluent_tag.test.name entity_name = "lsrc-kkg0rg:.:${confluent_schema.purchase.schema_identifier}" entity_type = local.schema_entity_type } resource "confluent_tag_binding" "record" { tag_name = confluent_tag.test.name entity_name = "lsrc-kkg0rg:.:${confluent_schema.purchase.schema_identifier}:io.confluent.developer.avro.MyPurchase" entity_type = local.record_entity_type } resource "confluent_tag_binding" "field" { tag_name = confluent_tag.test.name entity_name = "lsrc-kkg0rg:.:${confluent_schema.purchase.schema_identifier}:io.confluent.developer.avro.MyPurchase.amount" entity_type = local.field_entity_type } ... Plan: 0 to add, 3 to change, 0 to destroy. confluent_tag_binding.field: Modifying... [id=lsrc-kkg0rg/test/lsrc-kkg0rg:.:100007:io.confluent.developer.avro.MyPurchase.amount/sr_field] confluent_tag_binding.record: Modifying... [id=lsrc-kkg0rg/test/lsrc-kkg0rg:.:100007:io.confluent.developer.avro.MyPurchase/sr_record] confluent_tag_binding.schema: Modifying... [id=lsrc-kkg0rg/test/lsrc-kkg0rg:.:100007/sr_schema] confluent_tag_binding.schema: Modifications complete after 0s [id=lsrc-kkg0rg/test/lsrc-kkg0rg:.:100008/sr_schema] confluent_tag_binding.record: Modifications complete after 0s [id=lsrc-kkg0rg/test/lsrc-kkg0rg:.:100008:io.confluent.developer.avro.MyPurchase/sr_record] confluent_tag_binding.field: Modifications complete after 0s [id=lsrc-kkg0rg/test/lsrc-kkg0rg:.:100008:io.confluent.developer.avro.MyPurchase.amount/sr_field]
This issue was resolved with the latest release of TF Provider for Confluent (1.61.0).
What
confluent_tag_binding
resource should support entity_name updates for sr_record and sr_fieldExample
When schema is update in place, the next
terraform plan
should be able to apply these updates seamlessly: