4 "github.com/hashicorp/hcl2/hcl"
7 var rootSchema = &hcl.BodySchema{
8 Blocks: []hcl.BlockHeaderSchema{
15 LabelNames: []string{"name"},
19 LabelNames: []string{"name"},
23 LabelNames: []string{"name"},
27 LabelNames: []string{"type", "name"},
31 LabelNames: []string{"type", "name"},
35 LabelNames: []string{"name"},
40 var terraformBlockSchema = &hcl.BodySchema{
41 Attributes: []hcl.AttributeSchema{
43 Name: "required_version",
46 Blocks: []hcl.BlockHeaderSchema{
48 Type: "required_providers",
53 var providerConfigSchema = &hcl.BodySchema{
54 Attributes: []hcl.AttributeSchema{
64 var variableSchema = &hcl.BodySchema{
65 Attributes: []hcl.AttributeSchema{
78 var outputSchema = &hcl.BodySchema{
79 Attributes: []hcl.AttributeSchema{
86 var moduleCallSchema = &hcl.BodySchema{
87 Attributes: []hcl.AttributeSchema{
100 var resourceSchema = &hcl.BodySchema{
101 Attributes: []hcl.AttributeSchema{