Files
tree-sitter-jhcl/fuzz/corpus/a66301ef282a5850ee68560beae19a505c2e2972

23 lines
718 B
Plaintext
Raw Normal View History

2021-09-17 20:53:40 +02:00
module "grandchild" {
ws_instance" "b" {
amresource "aws_instance" "a" {
foo = [0, 1, 2, 3, 4, 5, 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 iven_instance_id}"
}
output "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}"
}
output "al_ids" {
# Here we are intentionally referencing values covering three different scenarios:
# - not targeted and not already is_insresource "aws_instance" "a" {
fotance" "one" {
count = var/ a resourcen