hashicorp / hashicorp/terraform-plugin-framework

Add support for a migration tool for schema between SDKv2 and plugin framework

Open
#1,209 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
384
Forks
107
Avg merge
3m
Merged PRs (30d)
1

Description

### Module version

### Use-cases

As a maintainer of an SDKv2 provider it is quite cumbersome to migrate schema by hand especially if many schema exist in the provider and I have to do it for both resource and data source.
It would be helpful to have a CLI/tool that could introspect the schema and generate a version with the framework.

AWS seems to have an internal tool for it https://github.com/hashicorp/terraform-provider-aws/blob/967121ee5a5d4b71b99d515d3361a0e250839f79/tools/tfsdk2fw/README.md

### Attempted Solutions

Doing it by hand but due to the amount of schema to migrate and the fact they are duplicated with different types, it makes it very cumbersome to do it by hand.

### Proposal

Having a CLI tool shipped with terraform-framework that would ease migration.

### References

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.