github.com/mineiros-io/terradoc@v0.0.9-0.20220711062319-018bd4ae81f5/internal/schemas/outputsschema/outputsschema.go (about) 1 package outputsschema 2 3 import "github.com/hashicorp/hcl/v2" 4 5 func RootSchema() *hcl.BodySchema { 6 return &hcl.BodySchema{ 7 Blocks: []hcl.BlockHeaderSchema{ 8 { 9 Type: "output", 10 LabelNames: []string{"name"}, 11 }, 12 }, 13 } 14 } 15 16 func OutputSchema() *hcl.BodySchema { 17 return &hcl.BodySchema{ 18 Attributes: []hcl.AttributeSchema{}, 19 } 20 }