add template for directives
This commit is contained in:
63
fuzz/corpus/2e2fce57adf3c4b08e16a1f545d7092f45be3588
Normal file
63
fuzz/corpus/2e2fce57adf3c4b08e16a1f545d7092f45be3588
Normal file
@@ -0,0 +1,63 @@
|
||||
_"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_pla 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 "childst_${local. "$;moduresource "aws_instance" "foo" {
|
||||
foo = "bar"
|
||||
}
|
||||
|
||||
output "value" {#
|
||||
value le.child1= "${aws_instance..instance_id}"
|
||||
}
|
||||
|
||||
output "child1_given_id" {
|
||||
value = "${module.child12_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