Closed j0nesin closed 8 years ago
:+1:
Ran into this exact issue.
Formats correctly but fails to run with Terraform:
Formats incorrectly but runs successfully with Terraform:
Notice how an inner set of quotes is required, but then the plugin stops formatting comments correctly.
+1
Should be fixed in the new release. Thanks @johnrengelman for the pull request.
Terraform 0.6.7 release changes the way template files are referenced to typically follow this pattern with nested interpolations.
template = "${file("${path.module}/filename.tpl")}"
The syntax highlighting loses sync as it associates the internal closing bracket with the external opening bracked causing the remainder of the file to by highlighted incorrectly.
Thanks for the plugin.