Skip to content

Commit 808210b

Browse files
committed
Dont force replacement for rule_id
For now just treat this as a computed field so we don't force replacement when it is updated
1 parent b171dcd commit 808210b

File tree

1 file changed

+1
-4
lines changed
  • internal/kibana/security_detection_rule

1 file changed

+1
-4
lines changed

internal/kibana/security_detection_rule/schema.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@ func GetSchema() schema.Schema {
4747
"rule_id": schema.StringAttribute{
4848
MarkdownDescription: "A stable unique identifier for the rule object. If omitted, a UUID is generated.",
4949
Optional: true,
50-
Computed: true, //
51-
PlanModifiers: []planmodifier.String{
52-
stringplanmodifier.RequiresReplace(),
53-
},
50+
Computed: true,
5451
},
5552
"name": schema.StringAttribute{
5653
MarkdownDescription: "A human-readable name for the rule.",

0 commit comments

Comments
 (0)