add template for directives
This commit is contained in:
58
fuzz/corpus/a147a254c206806fb41552ced767396e909a9c4e
Normal file
58
fuzz/corpus/a147a254c206806fb41552ced767396e909a9c4e
Normal file
@@ -0,0 +1,58 @@
|
||||
"2"]
|
||||
}
|
||||
|
||||
resource "aws_instance" "a" {
|
||||
count = length(var.list)
|
||||
}
|
||||
|
||||
locals {
|
||||
ids = aws_instance.a[*].id
|
||||
}
|
||||
|
||||
module "empty" {
|
||||
source = "./mod"
|
||||
input = zipmap(var.list, local.ids)
|
||||
}
|
||||
|
||||
output "out" {
|
||||
value = aws_instance.a[*].id
|
||||
|
||||
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
|
||||
}
|
||||
to_port = int_object.A.test_${local. "$;moduresource "aws_instance" "foo" {
|
||||
foo = "bar"
|
||||
}
|
||||
|
||||
output "value" {#
|
||||
value le.child1= "${aws_instance..instance_id}"
|
||||
}
|
||||
|
||||
output "child1_given_id" {
|
||||
value = "${module.child1.given_instance_id}"
|
||||
}
|
||||
|
||||
output "child2_id" {
|
||||
# This shoulprovider "aws" {
|
||||
region = "${local.foo}"
|
||||
}
|
||||
|
||||
locals {
|
||||
foo = "bar"
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" {
|
||||
value = "${local.foo}"
|
||||
}
|
||||
|
||||
|
||||
resourfce "aws_instoo.idance" "=ýýý
|
||||
# This sho}"
|
||||
}
|
||||
uld get updated even
|
||||
Reference in New Issue
Block a user