rouge
rouge copied to clipboard
Terraform: $${ are highlighted as error
Name of the lexer Terraform
Code sample A sample of the code that produces the bug.
locals {
demo_dollars = "$${local.demo}"
}
Additional context
This syntax allows escape the literal sequence ${ for later use in templatestring or to pass the raw value somewhere else. https://developer.hashicorp.com/terraform/language/expressions/strings#string-templates
This should be rendered as a string as there is no variable interpolation done there.