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 support for *.tf.json files (introduced in #498) and support for *.tfvars.json files (introduced in #519), we are now publishing diagnostics for those kinds of files, too.
Expected Behavior
When changing/opening/closing a terraform JSON file, we should publish updated diagnostics to avoid stale diagnostics.
Actual Behavior
Diagnostics for any JSON files (*.tf.json, *.tfvars.json) are only published, when a *.tf is changed/opened/closed in the corresponding module. Fixing an issue inside a JSON file will not trigger an update.
valid JSON file, stale problems
Steps to Reproduce
Create an invalid *.tf.json or *.tfvars.json file:
Context
With support for
*.tf.json
files (introduced in #498) and support for*.tfvars.json
files (introduced in #519), we are now publishing diagnostics for those kinds of files, too.Expected Behavior
When changing/opening/closing a terraform JSON file, we should publish updated diagnostics to avoid stale diagnostics.
Actual Behavior
Diagnostics for any JSON files (
*.tf.json
,*.tfvars.json
) are only published, when a*.tf
is changed/opened/closed in the corresponding module. Fixing an issue inside a JSON file will not trigger an update.valid JSON file, stale problems
Steps to Reproduce
*.tf.json
or*.tfvars.json
file:*.tf
file in the same module.The text was updated successfully, but these errors were encountered: