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

Added write-only support to generate #434

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

Conversation

rainkwan
Copy link

@rainkwan rainkwan commented Jan 16, 2025

For the generate command, updated the render logic using terraform-json to add WriteOnly.

For an example JSON Attribute:

## Schema

### Optional

            "write_only_string_attribute": {
                "type": "string",
                "description": "example write only string attribute",
                "description_kind": "markdown",
                "optional": true,
                "write_only": true
            }

We get the following md:

## Schema

### Optional

- `write_only_string_attribute` (String, Write-only) example write only string attribute

Copy link

hashicorp-cla-app bot commented Jan 16, 2025

CLA assistant check
All committers have signed the CLA.

@rainkwan rainkwan marked this pull request as ready for review January 16, 2025 19:12
@rainkwan rainkwan requested a review from a team as a code owner January 16, 2025 19:12
@rainkwan rainkwan changed the title rk/writeonlysupport Added write-only support rk/writeonlysupport Jan 16, 2025
@rainkwan rainkwan changed the title Added write-only support rk/writeonlysupport Added write-only support to generate Jan 16, 2025
@SBGoods SBGoods marked this pull request as draft January 16, 2025 19:43
@rainkwan rainkwan marked this pull request as ready for review January 17, 2025 21:36
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