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

18 lines
364 B
Cheetah
Raw Permalink Normal View History

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