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
When creating a string using interpolation, if two interpolated values are placed one after the other with no intervening characters, TF VSC extension shows second interpolation as being text. It does not generate a plan error, so it is acceptable to use in TF and generates the proper results. However, the TF linter is showing the second interpolation as text when it should show it as an interpolated value.
In the example below, compare the highlighting of bucket_name (has intervening period between two interpolated values) and aliases (does not have any intervening characters).
Expected Behavior
All interpolated values should be displayed with proper syntax highlighting.
Actual Behavior
If two interpolated values are placed one after the other, the first interpolated value is shown with correct highlighting, while the second is shown with text highlighting.
Additional context
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.
Versions
Extension
v2.22.0
VS Code
1.67.2 (system setup)
Operating System
Windows 10 21H2
Terraform Version
1.1.8
Steps To Reproduce
When creating a string using interpolation, if two interpolated values are placed one after the other with no intervening characters, TF VSC extension shows second interpolation as being text. It does not generate a plan error, so it is acceptable to use in TF and generates the proper results. However, the TF linter is showing the second interpolation as text when it should show it as an interpolated value.
In the example below, compare the highlighting of bucket_name (has intervening period between two interpolated values) and aliases (does not have any intervening characters).
Expected Behavior
All interpolated values should be displayed with proper syntax highlighting.
Actual Behavior
If two interpolated values are placed one after the other, the first interpolated value is shown with correct highlighting, while the second is shown with text highlighting.
Additional context
The text was updated successfully, but these errors were encountered: