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

18 lines
400 B
Cheetah
Raw Permalink Normal View History

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