5
5
"testing"
6
6
7
7
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
8
- "github.com/hashicorp/terraform-plugin-testing/plancheck"
9
8
"github.com/hashicorp/terraform-provider-google/google/envvar"
10
9
"github.com/hashicorp/terraform-provider-google/google/acctest"
11
10
)
@@ -26,26 +25,19 @@ func TestAccComputeFutureReservation_update(t *testing.T) {
26
25
Config: testAccComputeFutureReservation_full(context),
27
26
},
28
27
{
29
- ResourceName: "google_compute_future_reservation.gce_future_reservation",
30
- ImportState: true,
31
- ImportStateVerify: true,
28
+ ResourceName: "google_compute_future_reservation.gce_future_reservation",
29
+ ImportState: true,
30
+ ImportStateVerify: true,
32
31
ImportStateVerifyIgnore: []string{"auto_delete_auto_created_reservations"},
33
-
34
32
},
35
33
{
36
34
Config: testAccComputeFutureReservation_update(context),
37
- ConfigPlanChecks: resource.ConfigPlanChecks{
38
- PreApply: []plancheck.PlanCheck{
39
- plancheck.ExpectResourceAction("google_compute_future_reservation.gce_future_reservation", plancheck.ResourceActionUpdate),
40
- },
41
- },
42
35
},
43
36
{
44
- ResourceName: "google_compute_future_reservation.gce_future_reservation",
45
- ImportState: true,
46
- ImportStateVerify: true,
37
+ ResourceName: "google_compute_future_reservation.gce_future_reservation",
38
+ ImportState: true,
39
+ ImportStateVerify: true,
47
40
ImportStateVerifyIgnore: []string{"auto_delete_auto_created_reservations"},
48
-
49
41
},
50
42
},
51
43
})
0 commit comments