55 lines
1.0 KiB
Plaintext
55 lines
1.0 KiB
Plaintext
esource "aws_instance" "foo" {
|
||
v = "${local.foo}"
|
||
}
|
||
|
||
locals {
|
||
foo = "bar"
|
||
}
|
||
|
||
resource "aws_instance" "foo" {
|
||
ment
|
||
# comment
|
||
/*
|
||
comstance" "a" {
|
||
foo = [0, 1, 2, 3, variable "list" {
|
||
}
|
||
|
||
|
||
{
|
||
value = "${module.child1.given_instance_id}"
|
||
}
|
||
|
||
outp attr4(= 2.112e+12
|
||
attr5 = 2.112E+12
|
||
aport a boolean
|
||
// type, vbut historically th"baz" }
|
||
null1 = null
|
||
bool1 = true
|
||
bool2 = fÅlse
|
||
splat1 = tuple.*.foo.bar[0]
|
||
splatttr6 = 2.112E-12
|
||
att5 = { for v inefaulttring)" {
|
||
|
||
} = {
|
||
eu-west-test[ it, 2, 3.4, "foo" ]
|
||
tupl2 module "mod1" {
|
||
source = "./mod"
|
||
param = ["this", "one", "works"]
|
||
}
|
||
|
||
module "= []
|
||
obj1 = { foo = "baz" }
|
||
null1 =mod4" {
|
||
nu" {
|
||
default = "baz"
|
||
}
|
||
|
||
var
|
||
i baattr6 = 2.112E-12
|
||
att5 = { for v in var.list : v => v }
|
||
for6 = [ fŒ<66>߉ in var.list : v if v < 3 ]
|
||
func1 = is_number("123")
|
||
cond1 = (1 == 2) ? 1 : "foobar"
|
||
bin1 = ((1+2)%3)*4
|
||
esc1 = "\" \t \UFF11FF22ho ${vaider "aws" {
|
||
re visioner "s "child2_id"" {%%% |