Skip to content

timeouts/schema.go - documentation  #51

@jbinko

Description

@jbinko

Terraform CLI and Framework Versions

1.4.5

Use Cases or Problem Statement

Below is output of go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs
if you specify in schema timeouts attribute
"timeouts": timeouts.AttributesAll(ctx),

Output:

Nested Schema for timeouts
Optional:

create (String)
delete (String)
read (String)
update (String)

Proposal

It's not nice. I believe if we change timeouts/schema.go and for each create/delete/read/update attribute specify generic Description field like "(Defaults to XX minutes) Used when creating the resource." it will provide better results and will save time to developers.

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

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