Files
tree-sitter-jhcl/fuzz/corpus/5f76fc3f7d3a1b9c795b4e0a95d35b18502447b2

42 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-17 20:53:40 +02:00
module "grandchild" {
source = "./child"
}
resource "aws_instance" "b" {
amresource "aws_instance" "a" {
foo = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20"${aws_ii = "child"
depends_on = ["module.grandc<64><63><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>nstanc<6E>e.a.foo}"<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>hild"]
}
}
resource "tprovider "aws" {
region = "est_object" "A" {}
resource "test_object" "B" {
test_string = "${test_object.A.test_${local. "${module.child1.instance_id}"
}
output "child1_given_id" {
value = "${module.child1.given_instance_id}"
}
output "child2_id" {
# This should get updated even thoughresource "aws_instance" "foo" {
num = "2"
provisioner "shell" {}
}
resource "aws_instance" "bar" {
foo = "bar"
provisioner "shell" {}
}
put "all_ids" {
# Here we are intentionally referencing values covering three different scenarios:
# - not targeted and not already in state
# - not targeted and already in state
# - targeted
# 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 silently ignore the failure that results from trying to
# interpolate the un-targeted, not-in-state node.
value = "${aws_instance.foo.id} ${module.