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

internal: Parse variable default values #554

Merged
merged 1 commit into from
Jun 17, 2021
Merged

internal: Parse variable default values #554

merged 1 commit into from
Jun 17, 2021

Conversation

radeksimko
Copy link
Member

With this patch we'll be persisting decoded default values as cty.Value. This will be useful for #495

This will be also used to help decide a type of a variable in cases where the explicit type is not declared (i.e. variable type is missing) or is vague (i.e. type = any).

Depends on hashicorp/terraform-schema#59

@radeksimko
Copy link
Member Author

^ cc @beandrad

@radeksimko radeksimko merged commit cd317c3 into main Jun 17, 2021
@radeksimko radeksimko deleted the f-default-value branch June 17, 2021 14:18
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant