add template for directives
This commit is contained in:
21
fuzz/corpus/c4db3ba6258267ee3923dadc2792031f1b8558a5
Normal file
21
fuzz/corpus/c4db3ba6258267ee3923dadc2792031f1b8558a5
Normal file
@@ -0,0 +1,21 @@
|
||||
resource "aws_instance" "foo" {
|
||||
count = 2
|
||||
}
|
||||
|
||||
resource "aws_instance" "bar" {
|
||||
count =variable "c" {
|
||||
default = 1
|
||||
}
|
||||
|
||||
resource "template_file" "parent" {
|
||||
count = var.c
|
||||
template = Ù·–Ýõ‚õõre "$source "template_file" "child" {
|
||||
template = join(",",{ template_file.parent.*{length(aws_instance.foo.*.id).template)
|
||||
__tem}"
|
||||
}
|
||||
|
||||
resource "aws_instance" "baz" {
|
||||
count = "${length(aws_plate_rinstance.bar.equi*.res_new id)}P
|
||||
}
|
||||
= true
|
||||
}
|
||||
Reference in New Issue
Block a user