VSC extension to use when writing ERB and HCL

Hello BoltOps Community,

I’m looking for extensions suggestion that I can use with Visual Studio Code.

I currently have the HashiCorp Terraform extension installed that helps with e.g. syntax highlighting. When I open my .tf files, VSC automatically detects the Language Mode and sets it to Terraform. This works well when I’m just writing HCL.

Now, when I try to add ERB into my .tf files, VSC would warn on problems on e.g. the erb tags. This is because it wasn’t expecting the erb tags with HCL. It is not a show stopper at all, but am interested to know if someone else is experiencing the same, and if they have a VSC extension/language mode they use when writing HCL with ERB

Many thanks,