60 lines
1.3 KiB
Plaintext
60 lines
1.3 KiB
Plaintext
|
|
r.source "aws_33333333333333instance" "parent" {
|
|||
|
|
count<6E><74><EFBFBD><EFBFBD>
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
module "child" {
|
|||
|
|
source = " "2"]
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "aws_instance" "a" {
|
|||
|
|
count = length(vamment
|
|||
|
|
# comment
|
|||
|
|
/*
|
|||
|
|
comm att5 = { for v in var.list : v => v }
|
|||
|
|
for6 = [ for v in var.list : v if v < 3 ]
|
|||
|
|
func1 = is_number("123")
|
|||
|
|
cond1 = (1 == 2) ? 1 : "foobar"
|
|||
|
|
bin1 = ((1+2)%3)*4
|
|||
|
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"r6 = [ for v in var.li?t : v if v < 3 ]
|
|||
|
|
func1 = is_number("123")
|
|||
|
|
cond1 = (1 == 2) ? 1 : "foobar"
|
|||
|
|
bin1 = ((1+2)%3)*4
|
|||
|
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
|
|||
|
|
esc2 = "$${} %%{}"
|
|||
|
|
tpl1 ${func("foo${ var.b)}r"}a
|
|||
|
|
suffix
|
|||
|
|
EOF
|
|||
|
|
|
|||
|
|
nested_resource_1 {
|
|||
|
|
attr1 = 2
|
|||
|
|
attr2 = 2.11e failure that results = 1
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "template_file" "parenar" {"foo${ var.b)}r"}a
|
|||
|
|
|
|||
|
|
nested_resource_1 {
|
|||
|
|
attr1 = 2
|
|||
|
|
attr2 = 2.11e failure that"results = 1
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "template_file" "paren(1+2)%3)*4
|
|||
|
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
|
|||
|
|
esc2 = "$${} %%{}"
|
|||
|
|
tpl1 = "pre11FF22 \uFFFF \n"
|
|||
|
|
esc2 = "$${} %%{}"
|
|||
|
|
tpl1 = "prefix-${var.bar}"
|
|||
|
|
tpl2 = "prefix-${func("bar")|<7C><><EFBFBD> tpl3 = "prefix-${func("nested-${var.bar}")}"
|
|||
|
|
tpl4 = <<EOF
|
|||
|
|
prefix
|
|||
|
|
${func("foo${ var.b)}r"}a
|
|||
|
|
suffix
|
|||
|
|
EOF
|
|||
|
|
|
|||
|
|
nested_resource_1 {
|
|||
|
|
attr1 = 2
|
|||
|
|
attr2 = 2.11e failure that results = 1
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
resource "template_file" "parenar" {"foo${ var.b)}r"}a
|
|||
|
|
|
|||
|
|
variable "foo" { |