We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7e9b4f commit 12b724dCopy full SHA for 12b724d
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