Skip to content

[FEATURE] For Enums expose a function that will return a list of all possible constants defined #1063

Description

@alexott

Problem Statement

In the terraform provider, we may need a validation logic that will check that the value is in the list of all possible constants.

Proposed Solution

For all generated enums generate a function that will return a slice with all defined values for a given type (maybe only string-based types).

Additional Context

See comment here: databricks/terraform-provider-databricks#4051 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions