Skip to content

Commit bb52137

Browse files
committed
readd
1 parent f946c4f commit bb52137

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/fleet/agent_policy/schema.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import (
1111
"github.com/hashicorp/terraform-plugin-framework/resource/schema"
1212
"github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault"
1313
"github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier"
14+
"github.com/hashicorp/terraform-plugin-framework/resource/schema/mapplanmodifier"
1415
"github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier"
1516
"github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier"
1617
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
@@ -112,6 +113,9 @@ func getSchema() schema.Schema {
112113
},
113114
},
114115
Optional: true,
116+
PlanModifiers: []planmodifier.Map{
117+
mapplanmodifier.RequiresReplace(),
118+
},
115119
},
116120
}}
117121
}

0 commit comments

Comments
 (0)