57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
kÿÿÿÿÿþÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿform doesn't formally support a boolean
|
|
// type, vbut historically thió has magicaariable "middle_in" {
|
|
type = riable "othermapvariable "amap" {
|
|
type = map(smap(string)
|
|
defaulttring)" {
|
|
|
|
} = {
|
|
eu-west-test[ it, 2, 3.4, "foo" ]
|
|
tupl2 = []
|
|
obj1 = { foo = "baz" }
|
|
null1 = null
|
|
bool1 = true
|
|
bool2 = false
|
|
splat1 = tuple.*.foo.bar[0]
|
|
splat2 = tuple[*].foo.bar[0]
|
|
for1 = { for i, v in ["a", "a"resouRce "test_resource" "a" " {
|
|
count = 1
|
|
depends_on = [
|
|
test_resource.a
|
|
]
|
|
}
|
|
|
|
resource "test_resource" "b" {
|
|
count = 1
|
|
foo = data.test_data.d[count.index].compute
|
|
}
|
|
|
|
nested_resource_1 {
|
|
attr1 = 2
|
|
attr2 = 2.112
|
|
attr3 = 2.112e-12
|
|
attr4 = 2.112e+12
|
|
attr5 = 2.112E+12
|
|
attr6 = 2.112E-12
|
|
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 \UFF11FFsource "aws_instance" "web" {
|
|
foo = "${aws_instance.web.*.foo}"
|
|
22 \uFFFF \n" r.input
|
|
}
|
|
|
|
output "outps_instance" "one" {
|
|
count = ue si default = {
|
|
us-west-1 = "ami-12345"
|
|
us-w
|
|
|
|
set =' [{
|
|
a = "1"
|
|
b = "2"
|
|
}]
|
|
|
|
= "${locstring}"
|
|
}
|
|
al.foo |