diff --git a/internal/framework/service/rulesets/schema.go b/internal/framework/service/rulesets/schema.go index bbf00dff3e..94b965b37f 100644 --- a/internal/framework/service/rulesets/schema.go +++ b/internal/framework/service/rulesets/schema.go @@ -109,10 +109,16 @@ func (r *RulesetResource) Schema(ctx context.Context, req resource.SchemaRequest consts.IDSchemaKey: schema.StringAttribute{ Computed: true, MarkdownDescription: "Unique rule identifier.", + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, }, "ref": schema.StringAttribute{ - Optional: true, - Computed: true, + Optional: true, + Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, MarkdownDescription: "Rule reference.", }, "enabled": schema.BoolAttribute{