Files
steampipe/pkg/parse/schema.go
2024-09-27 18:14:28 +05:30

28 lines
391 B
Go

package parse
import "github.com/hashicorp/hcl/v2"
var ConnectionBlockSchema = &hcl.BodySchema{
Attributes: []hcl.AttributeSchema{
{
Name: "plugin",
Required: true,
},
{
Name: "type",
},
{
Name: "connections",
},
{
Name: "import_schema",
},
},
Blocks: []hcl.BlockHeaderSchema{
{
Type: "options",
LabelNames: []string{"type"},
},
},
}