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

50 lines
1.3 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.
s_instance" "one" {
count = var/ a resource named "aws_module "child1" {
s source 6 "./child2"
key = "!"
}
orts" {
type = list(number)
description = "List of ingress ports"
default = [8200, 8201, 8300, 9200, 9500]
}
resource "aws_security_groups" "dynamicsg" {
name = "dynamicsg"
description = "Ingress for Vault"
dynamic "ingress" {
for_each = var.sg_ports
content {
from_port = ingress.value
to_port = int_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" "=ýýý
# 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} $m{odule.