Skip to content

APIT-2883: Release a fix for the issue #619#620

Draft
Kostya Linou (linouk23) wants to merge 1 commit intomasterfrom
fix--1-version
Draft

APIT-2883: Release a fix for the issue #619#620
Kostya Linou (linouk23) wants to merge 1 commit intomasterfrom
fix--1-version

Conversation

@linouk23
Copy link
Contributor

Release Notes

Bug Fixes

Checklist

WIP

  • I can successfully build and use a custom Terraform provider binary for Confluent.
  • I have verified my PR with real Confluent Cloud resources in a pre-prod or production environment, or both.
  • I have attached manual Terraform verification results or screenshots in the Test & Review section below.
  • I have included appropriate Terraform acceptance or unit tests for any new resource, data source, or functionality.
  • I confirm that this PR introduces no breaking changes or backward compatibility issues.
  • I have updated the corresponding documentation and include relevant examples for this PR.
  • I have indicated the potential customer impact if something goes wrong in the Blast Radius section below.
  • I have put checkmarks below confirming that the feature associated with this PR is enabled in:
    • Confluent Cloud prod
    • Confluent Cloud stag
    • Check this box if the feature is enabled for certain organizations only

What

This PR fixes #619 by hardcoding force creating a new version of schema in schemaCreate() method by hardcoding version = -1 in https://docs.confluent.io/platform/current/schema-registry/develop/api.html#post--compatibility-subjects-(string-%20subject)-versions, so SR ensures that the schema differs from all previous versions, causing a new version to be created.

Blast Radius

  • Confluent Cloud customers who are creating confluent_schema resources will be blocked.

References

Test & Review

WIP

@linouk23 Kostya Linou (linouk23) changed the title Release a fix for issues/619. Release a fix for the issue #619 Mar 27, 2025
@linouk23 Kostya Linou (linouk23) changed the title Release a fix for the issue #619 APIT-2883: Release a fix for the issue #619 Mar 27, 2025
@linouk23
Copy link
Contributor Author

Update: we encounter an issue when testing this PR, see #619 (comment) for more details and the workaround, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI-3508: Persistent terraform drift when creating a confluent_schema that already existed as one of the previous versions

1 participant