File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
internal/fleet/integration_policy Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change 66
77 "github.com/hashicorp/terraform-plugin-framework-jsontypes/jsontypes"
88 "github.com/hashicorp/terraform-plugin-framework-validators/listvalidator"
9- "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
109 "github.com/hashicorp/terraform-plugin-framework/attr"
1110 "github.com/hashicorp/terraform-plugin-framework/path"
1211 "github.com/hashicorp/terraform-plugin-framework/resource"
@@ -57,16 +56,12 @@ func getSchemaV1() schema.Schema {
5756 "agent_policy_id" : schema.StringAttribute {
5857 Description : "ID of the agent policy." ,
5958 Optional : true ,
60- Validators : []validator.String {
61- stringvalidator .ConflictsWith (path .Root ("agent_policy_ids" ).Expression ()),
62- },
6359 },
6460 "agent_policy_ids" : schema.ListAttribute {
6561 Description : "List of agent policy IDs." ,
6662 ElementType : types .StringType ,
6763 Optional : true ,
6864 Validators : []validator.List {
69- listvalidator .ConflictsWith (path .Root ("agent_policy_ids" ).Expression ()),
7065 listvalidator .SizeAtLeast (1 ),
7166 },
7267 },
You can’t perform that action at this time.
0 commit comments