diff --git a/internal/terraform/node_output.go b/internal/terraform/node_output.go index 1079a59df36f..eccf780cb2ea 100644 --- a/internal/terraform/node_output.go +++ b/internal/terraform/node_output.go @@ -400,7 +400,8 @@ If you do intend to export this data, annotate the output value as sensitive by // If we were able to evaluate a new value, we can update that in the // refreshed state as well. if state = ctx.RefreshState(); state != nil && val.IsWhollyKnown() { - n.setValue(state, changes, val) + // we only need to update the state, do not pass in the changes again + n.setValue(state, nil, val) } return diags