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
It breaks the formatting when escaping double quotes in a string, and the string has a "/*" in it. The resource I'm running into the formatting problem with is a CloudWatch metric filter:
Looks like it may be a bigger formatting problem with HCL, since the GitHub markdown syntax highlighting has the same problem. Nevertheless, this is a valid metric filter pattern for AWS. And if you try to escape the * to fix the formatting, you get the error illegal char escape from Terraform.
The text was updated successfully, but these errors were encountered:
has anyone stumbled upon any workarounds?
I'm seeing the same now - I'm escaping a double quote: "\"", and everything after that is rendered in green, as if it was a string.
It breaks the formatting when escaping double quotes in a string, and the string has a "/*" in it. The resource I'm running into the formatting problem with is a CloudWatch metric filter:
Looks like it may be a bigger formatting problem with HCL, since the GitHub markdown syntax highlighting has the same problem. Nevertheless, this is a valid metric filter pattern for AWS. And if you try to escape the
*
to fix the formatting, you get the errorillegal char escape
from Terraform.The text was updated successfully, but these errors were encountered: