hashicorp / hashicorp/terraform-plugin-framework
Add support to test that a schema written in framework is equivalent to one written in SDK
- Dominant language
- Go
- Stars
- 384
- Forks
- 107
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
### Module version
```
github.com/hashicorp/terraform-plugin-framework v1.16.1
```
### Use-cases
As a maintainer of a provider written in SDKv2, I would like when I migrate a ressource to verify that the schema I have written in framework is equivalent to one written in SDK.
That would be very helpful to ensure that no customers is going to update to a broken schema.
### Attempted Solutions
Manually check field by field.
Using the acceptance testing that is already in place.
### Proposal
Could you add to the framework a list of function that would check that a resource / data source schema are indeed compatible between the SDKv2 and the framework.
### References
It would be helpful to add any tooling existing to do this task to the following documentation page:
https://developer.hashicorp.com/terraform/plugin/framework/migrating/schema
Contributor guide
Assessment
This issue has not been assessed yet.