diff --git a/.changes/unreleased/BUG FIXES-20260210-153921.yaml b/.changes/unreleased/BUG FIXES-20260210-153921.yaml deleted file mode 100644 index 122903f6..00000000 --- a/.changes/unreleased/BUG FIXES-20260210-153921.yaml +++ /dev/null @@ -1,5 +0,0 @@ -kind: BUG FIXES -body: 'helper/resource: Test steps in `Config` mode using the `TF_ACC_REFRESH_AFTER_APPLY` compatibility flag will now force post-apply plans to refresh.' -time: 2026-02-10T15:39:21.121944-05:00 -custom: - Issue: "602" diff --git a/helper/resource/testing_new_config.go b/helper/resource/testing_new_config.go index f41c0fe4..7a69d1cf 100644 --- a/helper/resource/testing_new_config.go +++ b/helper/resource/testing_new_config.go @@ -267,11 +267,8 @@ func testStepNewConfig(ctx context.Context, t testing.T, c TestCase, wd *plugint // do a plan err = runProviderCommand(ctx, t, wd, providers, func() error { - var opts []tfexec.PlanOption - if refreshAfterApply { - opts = append(opts, tfexec.Refresh(true)) - } else { - opts = append(opts, tfexec.Refresh(false)) + opts := []tfexec.PlanOption{ + tfexec.Refresh(false), } if step.Destroy { opts = append(opts, tfexec.Destroy(true))