hashicorp / hashicorp/terraform-plugin-codegen-framework

Consider additional flags for code generation

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

Description

### Background

Currently, the _generate_ command has the following subcommands that are available for use with code generation:

- _all_: Generate code for provider, resources, and data sources from an Intermediate Representation (IR) JSON file.
- _data-sources_: Generate code for data sources from an Intermediate Representation (IR) JSON file.
- _provider_: Generate code for the provider from an Intermediate Representation (IR) JSON file.
- _resources_: Generate code for resources from an Intermediate Representation (IR) JSON file.

### Proposal

Consider the introduction of flags which would allow defining for which data source(s) and resource(s) code should be generated.

Consider the introduction of flags which would allow specifying whether code should be generated for _schema_, _model(s)_, _model helper functions_, and/or __expand_/flatten_ functions.

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.