summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/hashicorp/hcl/hcl/printer/testdata/comment_aligned.golden
blob: 6ff21504c9ff480263928b9a2b58cade927c54ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
aligned {
  # We have some aligned items below
  foo     = "fatih"       # yoo1
  default = "bar"         # yoo2
  bar     = "bar and foo" # yoo3

  default = {
    bar = "example"
  }

  #deneme arslan
  fatih = ["fatih"] # yoo4

  #fatih arslan
  fatiharslan = ["arslan"] // yoo5

  default = {
    bar = "example"
  }

  security_groups = [
    "foo",                                # kenya 1
    "${aws_security_group.firewall.foo}", # kenya 2
  ]

  security_groups2 = [
    "foo",                                # kenya 1
    "bar",                                # kenya 1.5
    "${aws_security_group.firewall.foo}", # kenya 2
    "foobar",                             # kenya 3
  ]
}