add template for directives

This commit is contained in:
mhoffm
2021-09-17 20:53:40 +02:00
committed by Michael Hoffmann
parent 67a5c19755
commit c0513ba689
1582 changed files with 28118 additions and 16805 deletions

View File

@@ -0,0 +1,55 @@
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 = false
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"" {%%%