locals {
list = [
"1", "2", "3"
]
function = [
for i in local.list : "Out: ${join("-", [i, "join"]
)}" if i != "2"
]
}
output "test" {
value = local.function
}
Expected Behavior
Syntax highlighting works as expected after the closing ) for the join function in v2.29.5
Actual Behavior
Doesn't seem to associate the closing ) to the join() after updating to v2.30.1
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
No response
References
No response
Help Wanted
[ ] I'm interested in contributing a fix myself
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
Extension Version
v2.30.1
VS Code Version
Version: 1.89.1 (Universal) Commit: dc96b837cf6bb4af9cd736aa3af08cf8279f7685 Date: 2024-05-07T05:14:24.611Z Electron: 28.2.8 ElectronBuildId: 27744544 Chromium: 120.0.6099.291 Node.js: 18.18.2 V8: 12.0.267.19-electron.0 OS: Darwin arm64 23.4.0
Operating System
macOS Sonoma Version 14.4.1 (23E224)
Terraform Version
Terraform v1.5.7 on darwin_arm64
Steps to Reproduce
Create a
main.tf
with the following:Expected Behavior
Syntax highlighting works as expected after the closing
)
for the join function inv2.29.5
Actual Behavior
Doesn't seem to associate the closing
)
to thejoin()
after updating tov2.30.1
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
No response
References
No response
Help Wanted
Community Note