databricks-cli/bundle/internal/tf/codegen/templates/data_sources.go.tmpl

18 lines
390 B
Cheetah
Raw Normal View History

// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSources struct {
{{- range .Blocks }}
{{ .FieldName }} map[string]*{{ .TypeName }} `json:"{{ .TerraformName }},omitempty"`
{{- end }}
}
func NewDataSources() *DataSources {
return &DataSources{
{{- range .Blocks }}
{{ .FieldName }}: make(map[string]*{{ .TypeName }}),
{{- end }}
}
}