From c98f28f1f535020465cd5f2c4a9a72f1ee619fe0 Mon Sep 17 00:00:00 2001 From: "alvarez.mauriciotm@gmail.com" Date: Tue, 3 Mar 2026 16:54:48 -0800 Subject: [PATCH 1/2] remove extra refresh from GCP PR --- helper/resource/testing_new_config.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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)) From 79680fbc6a1ac4f887ad21ce42bdaca97c4cd6a2 Mon Sep 17 00:00:00 2001 From: Austin Valle Date: Wed, 4 Mar 2026 07:35:18 -0500 Subject: [PATCH 2/2] remove changelog --- .changes/unreleased/BUG FIXES-20260210-153921.yaml | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changes/unreleased/BUG FIXES-20260210-153921.yaml 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"