Migrate the provider from the legacy SDKv2 plugin to the newer terraform plugin framework #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Migrate provider to Terraform Plugin Framework while preserving the API backwards compatibility.
Why
Scope
terraform-plugin-framework
.zenml_service_connector
parity and behavior.Backward Compatibility
verify
defaults to enabled if unset, matching pre-migration intent(verification performed before create/update).
provider’s effective behavior (no double-encoding).
Developer Notes
terraform-plugin-sdk/v2/helper/retry
with framework contexts.terraform-plugin-framework-timeouts
.path.Root
andtflog
masking forcredentials.
Testing
go build
and unit tests pass with the pinned dependency versions.and updated to reflect JSON and verification behavior.
Risks and Mitigations
aligning with conditional expressions and interpolation timing.
Upgrade Impact for Users
switch to explicit strings (or wrap with
jsonencode(...)
as needed).