We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent543a735 commitb23d7e5Copy full SHA for b23d7e5
provider/workspace_preset.go
@@ -34,21 +34,21 @@ type WorkspacePrebuild struct {
34
// for utilities that parse our terraform output using this type. To remain compatible
35
// with those cases, we use a slice here.
36
ExpirationPolicy []ExpirationPolicy`mapstructure:"expiration_policy"`
37
-Autoscaling []Autoscaling`json:"autoscaling,omitempty"`
+Autoscaling []Autoscaling`mapstructure:"autoscaling"`
38
}
39
40
typeExpirationPolicystruct {
41
TTLint`mapstructure:"ttl"`
42
43
44
typeAutoscalingstruct {
45
-Timezonestring`json:"timezone"`
46
-Schedule []Schedule`json:"schedule"`
+Timezonestring`mapstructure:"timezone"`
+Schedule []Schedule`mapstructure:"schedule"`
47
48
49
typeSchedulestruct {
50
-Cronstring`json:"cron"`
51
-Instancesint`json:"instances"`
+Cronstring`mapstructure:"cron"`
+Instancesint`mapstructure:"instances"`
52
53
54
funcworkspacePresetDataSource()*schema.Resource {