Skip to content

Commit e35c85c

Browse files
committed
formatting
1 parent dc77ebc commit e35c85c

File tree

1 file changed

+32
-9
lines changed

1 file changed

+32
-9
lines changed

tfconfig/schema.go

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -136,16 +136,39 @@ var componentSchema = &hcl.BodySchema{
136136
// stackSchema defines the schema for Terraform Stacks files based on Terraform core's rootConfigSchema
137137
var stackSchema = &hcl.BodySchema{
138138
Attributes: []hcl.AttributeSchema{
139-
{Name: "language"},
139+
{
140+
Name: "language",
141+
},
140142
},
141143
Blocks: []hcl.BlockHeaderSchema{
142-
{Type: "stack", LabelNames: []string{"name"}},
143-
{Type: "component", LabelNames: []string{"name"}},
144-
{Type: "variable", LabelNames: []string{"name"}},
145-
{Type: "locals"},
146-
{Type: "output", LabelNames: []string{"name"}},
147-
{Type: "provider", LabelNames: []string{"type", "name"}},
148-
{Type: "required_providers"},
149-
{Type: "removed"},
144+
{
145+
Type: "stack",
146+
LabelNames: []string{"name"},
147+
},
148+
{
149+
Type: "component",
150+
LabelNames: []string{"name"},
151+
},
152+
{
153+
Type: "variable",
154+
LabelNames: []string{"name"},
155+
},
156+
{
157+
Type: "locals",
158+
},
159+
{
160+
Type: "output",
161+
LabelNames: []string{"name"},
162+
},
163+
{
164+
Type: "provider",
165+
LabelNames: []string{"type", "name"},
166+
},
167+
{
168+
Type: "required_providers",
169+
},
170+
{
171+
Type: "removed",
172+
},
150173
},
151174
}

0 commit comments

Comments
 (0)