File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -34,21 +34,21 @@ type WorkspacePrebuild struct {
3434 // for utilities that parse our terraform output using this type. To remain compatible
3535 // with those cases, we use a slice here.
3636 ExpirationPolicy []ExpirationPolicy `mapstructure:"expiration_policy"`
37- Autoscaling []Autoscaling `json :"autoscaling,omitempty "`
37+ Autoscaling []Autoscaling `mapstructure :"autoscaling"`
3838}
3939
4040type ExpirationPolicy struct {
4141 TTL int `mapstructure:"ttl"`
4242}
4343
4444type Autoscaling struct {
45- Timezone string `json :"timezone"`
46- Schedule []Schedule `json :"schedule"`
45+ Timezone string `mapstructure :"timezone"`
46+ Schedule []Schedule `mapstructure :"schedule"`
4747}
4848
4949type Schedule struct {
50- Cron string `json :"cron"`
51- Instances int `json :"instances"`
50+ Cron string `mapstructure :"cron"`
51+ Instances int `mapstructure :"instances"`
5252}
5353
5454func workspacePresetDataSource () * schema.Resource {
You can’t perform that action at this time.
0 commit comments