hashicorp / hashicorp/terraform-plugin-codegen-framework

Consider exposing a Go module for consuming framework code generation logic programmatically

Open
#102 0 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
57
Forks
29
Avg merge
2d 13h
Merged PRs (30d)
1

Description

### Use Cases or Problem Statement

There are use-cases where a developer may want more fine-grain control of the framework code generation process, or may want to combine the generator with their own custom Go code generation.

Currently, a developer would need to write a tool that interacts with the `tfplugingen-framework` CLI directly which currently doesn't expose any information about the process, outside of the resulting Go code 😄. The CLI interface was also not designed with this in mind, so it can be cumbersome to implement.

### Proposal

Expose a Go module that can be consumed by other developer tools that contains the same logic as the CLI (generating schema, data models, etc.)

> _Proposed package design + API is TBD 😄_

### Additional Information

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.