8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e8f0f commit 913795aCopy full SHA for 913795a
provider/workspace_preset.go
@@ -2,6 +2,7 @@ package provider
2
3
import (
4
"context"
5
+
6
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
7
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
8
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/validation"
@@ -90,7 +91,7 @@ func workspacePresetDataSource() *schema.Resource {
90
91
Type: schema.TypeInt,
92
Required: true,
93
ForceNew: true,
- ValidateFunc: validation.IntAtLeast(1),
94
+ ValidateFunc: validation.IntAtLeast(0),
95
},
96
97
0 commit comments