@@ -136,16 +136,39 @@ var componentSchema = &hcl.BodySchema{
136136// stackSchema defines the schema for Terraform Stacks files based on Terraform core's rootConfigSchema
137137var 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