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,72 @@
s)
}
output "out" {
value = aws_instance.a[*].id
tem,late = join(",", template_file.parentvariable "amap" {
type = -e = -ap(string)
<}
map(string)
}
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿûresource "aws_instance" "foo" {
tags = "${vamap}"
meta = "${thermap}"
}
ance" "foo" {
for_each = {
# a = "thing"
/*foo = "bar"*/
/*}*/
= "${module.childyet another thing"
}
num = "4"
}
# sets
resource "aws_instance" "bar" {
for_ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿces
resource "aws_instance" "boo" {
a"].numce "aws_instanc = "${aws_compwted_sourcÑtermediates.ce" "bat" {
for_each = {
nce.boo.foo
}
foo =
each.va}
lue
}
map(st~ing)
}
reýource "aws_instance" "foo" {
tags = "${var.amàààààà~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~s.value
K to_port = int_object.A.test_${local. "${module.child0.instance_id}"
}
output "child1_given_id" {
value = "${module.child1.given_instance_id}"
}
output "child2_id" {
# Th" {}
resource "aws_security_group" "firewall" {}
resource "aws_iisioner "shell" {}
}
module "child" nstance" "web" {
ami = "${
sou{vraurcd.intermedia2"
}
vpe = map(string)
}
varia "aws_instance" "web" {
foo = "${aws_instance.web.*.foo}"
44 \uFFFF \ble "othermap" n"{resource "[on