Skip to content

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

@remyleone

Description

@remyleone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions