Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --blocks-section flag to render blocks without specifying if they are required or optional #366

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kangasta
Copy link

@kangasta kangasta commented Apr 29, 2024

This renders blocks in a separate Blocks section to avoid all blocks being rendered as optional in resources implemented with terraform-plugin-framework. Also renames Required and Optional sections to Required Attributes and Optional Attribures when using the --blocks-section flag.

@kangasta kangasta force-pushed the blocks-in-separate-h3 branch from 3a67351 to 5ca9d69 Compare August 12, 2024 10:48
@kangasta kangasta changed the title Render blocks without specifying if they are required or optional Add --blocks-section flag to render blocks without specifying if they are required or optional Aug 12, 2024
@kangasta kangasta force-pushed the blocks-in-separate-h3 branch from 5ca9d69 to 1cfcf0b Compare August 12, 2024 10:51
@kangasta kangasta marked this pull request as ready for review August 12, 2024 10:57
@kangasta kangasta requested a review from a team as a code owner August 12, 2024 10:57
This avoids all blocks being rendered as optional in resources implemented with terraform-plugin-framework.
Render blocks in separate section if this flag is defined.
@kangasta kangasta force-pushed the blocks-in-separate-h3 branch from 1cfcf0b to cc1f64f Compare August 14, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant