Skip to content

Commit af84ea9

Browse files
committed
remove minsize for agent_policy_ids
1 parent e746118 commit af84ea9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/fleet/integration_policy/schema.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@ import (
55
_ "embed"
66

77
"github.com/hashicorp/terraform-plugin-framework-jsontypes/jsontypes"
8-
"github.com/hashicorp/terraform-plugin-framework-validators/listvalidator"
98
"github.com/hashicorp/terraform-plugin-framework/attr"
10-
"github.com/hashicorp/terraform-plugin-framework/path"
119
"github.com/hashicorp/terraform-plugin-framework/resource"
1210
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
1311
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
1412
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
1513
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
16-
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
1714
"github.com/hashicorp/terraform-plugin-framework/types"
1815
)
1916

@@ -61,9 +58,6 @@ func getSchemaV1() schema.Schema {
6158
Description: "List of agent policy IDs.",
6259
ElementType: types.StringType,
6360
Optional: true,
64-
Validators: []validator.List{
65-
listvalidator.SizeAtLeast(1),
66-
},
6761
},
6862
"description": schema.StringAttribute{
6963
Description: "The description of the integration policy.",

0 commit comments

Comments
 (0)