Files
tree-sitter-jhcl/fuzz/corpus/031d5eefd1ad735b8e3dad6755347e77a0c63f40

45 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-17 20:53:40 +02:00
s_instance" "one" {
count = var.instce" "one" {
count = var.instance_count
}
e "arce "aws_instance" "a" {
foo = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20"${aws_ii = "child"
depends_on = ["module.gstance" "bar" {
foo = "bar"
provisioner "shell" {}
}
put "all_ids" {
# Here we are intentionally referencingresource "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"
provisiresource "aws_instance" "foo" {
count = 3
}
resource "aws_instance" "=<3D><><EFBFBD>
# 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 alrrgeted 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.