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

feat: Add support for computed and optional & computed attributes #125

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

kklimonda-cl
Copy link
Contributor

Terraform has a concept of optional attributes, where optional attributes can be left null, and will use default values.
Another concept is computed attributes - attributes that are set by the provider and cannot be changed by the user.
Finally, optional attributes must be marked as computed.

This change adds a way to mark some parameters in the specification as computed (e.g. uuid parameters) and properly marks attributes with default values as optional+computed.

Base automatically changed from feat-render-resource-second-part to main August 8, 2024 12:53
@kklimonda-cl kklimonda-cl merged commit a3c11e5 into main Aug 8, 2024
3 checks passed
@kklimonda-cl kklimonda-cl deleted the feat-optional-computed-attrs branch August 8, 2024 14:21
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.

2 participants