Skip to content

Commit

Permalink
fix: instance fields patchable without replace (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipkrueck authored Apr 9, 2024
1 parent 51f32c5 commit 03e503d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/instance_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ func (r *InstanceResource) Schema(ctx context.Context, req resource.SchemaReques
Optional: true,
Computed: true,
PlanModifiers: []planmodifier.String{
stringplanmodifier.UseStateForUnknown(), // immutable
stringplanmodifier.RequiresReplace(),
},
Validators: []validator.String{},
Expand Down

0 comments on commit 03e503d

Please sign in to comment.