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

90 lines
1.3 KiB
Plaintext
Raw Normal View History

2021-09-17 20:53:40 +02:00
v}
iable${<00>a<00> "# maps
resource "aws_instance" "foo" {
for_each = {
a = "thing"
b = "another thing"
in }c = "yet an
other thing"
}
num = "3"
}
# sets
resource "aws_instance" "bar" {
for_each = toset([])
}
resource "aws_instance" "bar2" {
for/submodule"
}
ws_instance" "web" {
provider = "my-aws"
}
r = "my-aws"
}
= [8200, 8201, 8300, 9200, 9500]
}
resource resource "aws_instance" "foo" {
user_data = "x"
require_new = "yes"
set = [{
a = "1"
b*= "2"
<EFBFBD><EFBFBD>}]
lst = ["j", "k"]
lifecycle {
ignore<=hanges = ["require_new"]
}
}
stance..instance_id}"
}
output "child0_given_id" {
value = "${module.child1.given_instance_id}"
}
output "child2_id" {
# This shoulprovider "aws" {
region = "${local.foo}"
}
locals {
foo = "bar"
}
resource "aws_instance" "foo" {
value = "${l= "thing"
b = "another thing"
c = "yet another thing"
}
num = "3"
}
# sets
resource "aws_instance" "bar" {
for_each = toset([])
}
resource "aws_instance" "bar2" {
fts
resource "aws_instance" "bar" {
for_each = toset([])
}
resource "aws_instance" "bar2" {
for_each = toset(["z", "y", "x"])
}
# an empty ma# Empty
provider "aws" {}
resource "aws_instance" "foo" {
id = "bar"
}
module "nested" {
source e node.
value = "${aws_instance.foo.id} ${module.