add template for directives
This commit is contained in:
80
fuzz/corpus/b108b4124ccfb3da8429ec87be64486cc8968849
Normal file
80
fuzz/corpus/b108b4124ccfb3da8429ec87be64486cc8968849
Normal file
@@ -0,0 +1,80 @@
|
||||
resource "aws_instance" "foo" {}
|
||||
|
||||
module "child1" {
|
||||
sould1" {
|
||||
source = "./child1"
|
||||
instance_id = "$module "mod1" {
|
||||
source = "./mod"
|
||||
param = ["this", "one", "works"]
|
||||
}
|
||||
|
||||
module "mod4" {
|
||||
source = "./mod"
|
||||
param
|
||||
|
||||
|
||||
|
||||
|
||||
urce = "./mod"
|
||||
param = ["this", "one", "works"]
|
||||
}
|
||||
|
||||
module "mod4" {
|
||||
source = "./mod"
|
||||
param
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
= [module.mod1.out_{aws_instance.foo.id}"
|
||||
}
|
||||
|
||||
module "child2" {
|
||||
source = "./child2"
|
||||
}
|
||||
|
||||
output from_
|
||||
= [module.mod1."child1_id" {
|
||||
vout_from_splat[0]]
|
||||
}
|
||||
aluerce = "./child1"
|
||||
instance_id = "$module "mod1" {
|
||||
source = "./mod"
|
||||
param = ["this", "one", "works"]
|
||||
}
|
||||
|
||||
module "mod4" {
|
||||
source = "./mod"
|
||||
param
|
||||
|
||||
|
||||
|
||||
|
||||
urce = "./mod"
|
||||
param = ["this", "one", "works"]
|
||||
}
|
||||
|
||||
module "mod4" {
|
||||
source = "./mod"
|
||||
param
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
= [module.mod1.out_{aws_instance.foo.id}"
|
||||
}
|
||||
|
||||
module "child2" {
|
||||
source = "./child2"
|
||||
}
|
||||
|
||||
output from_
|
||||
= [module.mod1."child1_id" {
|
||||
vout_from_splat[0]]
|
||||
}
|
||||
alue = "${module.child1.instance_id}"
|
||||
}
|
||||
|
||||
output
|
||||
Reference in New Issue
Block a user