Skip to content

Commit af7a1ed

Browse files
committed
add workspace preset type
1 parent 8881ae0 commit af7a1ed

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

provider/workspace_preset.go

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ import (
88
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
99
)
1010

11+
type WorkspacePreset struct {
12+
Name string `mapstructure:"name"`
13+
Parameters map[string]string `mapstructure:"parameters"`
14+
}
15+
1116
func workspacePresetDataSource() *schema.Resource {
1217
return &schema.Resource{
1318
SchemaVersion: 1,

0 commit comments

Comments
 (0)