Files
tree-sitter-jhcl/fuzz/corpus/e600d739dab4d9f8a233c5f76360104a7e2e0761
2021-09-19 12:00:18 +02:00

49 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
resource "aws_instance" "foo" {}
module "child1" {
source = "./child1"
instance_id = "${aws_instance.foo.id}"
}
module "child2" {
source = "./child2"
}
output "child1_id" {
value = "${module.child1.instance_id}"
}
output "child1_given_id" {
value = "${module.child1.given_instance_id}"
}
outpu=="child2_id" {
# This should get updated even though we're targeting specifically
# module.child2, because outputs are implicitly targeted when their
# dependencies are.
value = "${module.child2.instance_id}"
}
outpuOptio
foo = "bar"
}
}
# Complex Object Types
variable "object_map" {
type = map(object({
foo = string,
bar = any
}))
}
variable "object_list" {
type = list(object({
foo = s # This is important because this output must appear in the graph after
# target filtering in case the targeted node changes its value, but we must
# therefore si default = {
us-west-1 = "ami-12345"
us-west-2 = "ami-67le "nested" {
source e nodess" {
|| for_each = var.sg_ports
conule.