Skip to content

Commit b534150

Browse files
committed
SCALRCORE-35221 Scalr Provider do not update sensitive variable value in state after modification.
1 parent 6976a2d commit b534150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/provider/variable_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func (r *variableResource) Update(ctx context.Context, req resource.UpdateReques
148148
return
149149
}
150150

151-
result, diags := variableResourceModelFromAPI(ctx, variable, &state)
151+
result, diags := variableResourceModelFromAPI(ctx, variable, &plan)
152152
resp.Diagnostics.Append(diags...)
153153
if resp.Diagnostics.HasError() {
154154
return

0 commit comments

Comments
 (0)