Files
tree-sitter-jhcl/fuzz/corpus/96313915e7f1300896c48710784888b3508d1b15

41 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"ing values c<><63><EFBFBD><EFBFBD>ing 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 filt<6C><74><EFBFBD><EFBFBD><EFBFBD>jn<6A>resource "tprovide* "aws" {
region = "est_object" "A" {}
resource "test_object" "B" {
test_string = "${test_object.A.test_${local. "${module.child2.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 stat'
# - 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.