---input---
backend "consul" {
data "aws_ami" "example" {
module "consul" {
output "instance_ip_addr" {
provider "aws" {
provisioner "local-exec" {
resource "aws_internet_gateway" "base_igw" {
variable "aws_region" {
variable "set-str" {
  type = set(string)
}

---tokens---
'backend'     Keyword.Reserved
' '           Text.Whitespace
'"consul"'    Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'data'        Keyword.Reserved
' '           Text.Whitespace
'"aws_ami"'   Name.Class
' '           Text.Whitespace
'"example"'   Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'module'      Keyword.Reserved
' '           Text.Whitespace
'"consul"'    Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'output'      Keyword.Reserved
' '           Text.Whitespace
'"instance_ip_addr"' Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'provider'    Keyword.Reserved
' '           Text.Whitespace
'"aws"'       Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'provisioner' Keyword.Reserved
' '           Text.Whitespace
'"local-exec"' Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'resource'    Keyword.Reserved
' '           Text.Whitespace
'"aws_internet_gateway"' Name.Class
' '           Text.Whitespace
'"base_igw"'  Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'variable'    Keyword.Reserved
' '           Text.Whitespace
'"aws_region"' Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'variable'    Keyword.Reserved
' '           Text.Whitespace
'"set-str"'   Name.Variable
' '           Text.Whitespace
'{'           Punctuation
'\n'          Text

'  '          Text.Whitespace
'type'        Name.Attribute
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'set'         Keyword.Type
'('           Punctuation
'string'      Keyword.Type
')'           Punctuation
'\n'          Text.Whitespace

'}'           Punctuation
'\n'          Text.Whitespace
