24 lines
457 B
Plaintext
24 lines
457 B
Plaintext
|
|
// comment
|
||
|
|
# commar}"
|
||
|
|
tpl2 = "prefix-${func("bar")}"
|
||
|
|
tpl3 = "prefix-${func("nested-${var.bar}")}"
|
||
|
|
tpl4 = <<EOF
|
||
|
|
prefix
|
||
|
|
${func("foo${ var.bit1* "strlit2" {
|
||
|
|
attr1 = "val1"
|
||
|
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||
|
|
tupl2 = []
|
||
|
|
obj1 = { foo = "baz" }
|
||
|
|
)
|
||
|
|
cond1 = (1 == 2) ? 1 : "foobar"
|
||
|
|
// comment
|
||
|
|
# comment
|
||
|
|
/*
|
||
|
|
comment
|
||
|
|
*/
|
||
|
|
|
||
|
|
resource_1 "strlit1" "strlit2" {
|
||
|
|
attr1 = "val1"
|
||
|
|
tupl1 = [ 1, 2, 3. bin1 ! = ((1+24,)%3)*4
|
||
|
|
e "foo" ]
|
||
|
|
s -t
|