You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current early validation implementation, we validate and publish diagnostics for all *.tf files inside a module. We can extend some of the validation rules to *.tfvars files.
validator.MissingRequiredAttribute{}, may look relevant but we have to keep in mind that variable values can be supplied from other places such as CLI flags, not only tfvars files, therefore we cannot expect all required variables to be declared in *.tfvars files.
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue 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 similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Problem Statement
With the current early validation implementation, we validate and publish diagnostics for all
*.tf
files inside a module. We can extend some of the validation rules to*.tfvars
files.Part of hashicorp/vscode-terraform#720
Proposal
*.tfvars
filesvariable
block)*.json
files #705tfvars
) #715.*.tf
files & non-autoloaded*.tfvars
#970Implementation Notes
Of all existing validators we'll probably only need two:
validator.MissingRequiredAttribute{},
may look relevant but we have to keep in mind that variable values can be supplied from other places such as CLI flags, not only tfvars files, therefore we cannot expect all required variables to be declared in*.tfvars
files.Community Note
The text was updated successfully, but these errors were encountered: