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

Refactoring the body using dynamic type #83

Closed
magodo opened this issue Mar 21, 2024 · 0 comments · Fixed by #87
Closed

Refactoring the body using dynamic type #83

magodo opened this issue Mar 21, 2024 · 0 comments · Fixed by #87
Labels
breaking-change enhancement New feature or request

Comments

@magodo
Copy link
Owner

magodo commented Mar 21, 2024

As hashicorp/terraform-plugin-framework#147 is resolved, the terraform-plugin-framework now has support for dynamic type. We shall consider using dynamic types instead of a plain string (JSON) for better UX, includes:

  • Easier to author. You can now use native HCL to define the body. Also you reference the attribute of the output natively
  • Native supports of ignore_changes
  • Customizable decoration on the fields in body, including:
    • Mark a field as sensitive by using sensitive
    • Mark an array order insensitive by using toset
    • etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change enhancement New feature or request
Projects
None yet
1 participant