tartrazine/spec/tests/terraform/test_variable_declaration.txt

42 lines
1013 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
variable "aws_region" {
description = "AWS region to launch servers."
default = "us-west-2"
somevar = true
}
---tokens---
'variable' Keyword.Reserved
' ' Text.Whitespace
'"aws_region"' Name.Variable
' ' Text.Whitespace
'{' Punctuation
'\n' Text.Whitespace
' ' Text.Whitespace
'description' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"AWS region to launch servers."' Literal.String.Double
'\n' Text.Whitespace
' ' Text.Whitespace
'default' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'"us-west-2"' Literal.String.Double
'\n' Text.Whitespace
' ' Text.Whitespace
'somevar' Name.Attribute
' ' Text.Whitespace
'=' Operator
' ' Text.Whitespace
'true' Name.Constant
'\n' Text.Whitespace
'}' Punctuation
'\n' Text.Whitespace