diff --git a/.changelog/9124.txt b/.changelog/9124.txt new file mode 100644 index 0000000000..8ec013c069 --- /dev/null +++ b/.changelog/9124.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google-beta/services/compute/resource_compute_network_endpoints_test.go b/google-beta/services/compute/resource_compute_network_endpoints_test.go index 52362613d2..6f0f2517d0 100644 --- a/google-beta/services/compute/resource_compute_network_endpoints_test.go +++ b/google-beta/services/compute/resource_compute_network_endpoints_test.go @@ -45,6 +45,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) { ResourceName: "google_compute_network_endpoints.default", ImportState: true, ImportStateVerify: true, + ImportStateId: negId, }, { // Force-recreate old endpoint @@ -57,6 +58,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) { ResourceName: "google_compute_network_endpoints.default", ImportState: true, ImportStateVerify: true, + ImportStateId: negId, }, { // Add four new endpoints @@ -66,6 +68,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) { ResourceName: "google_compute_network_endpoints.default", ImportState: true, ImportStateVerify: true, + ImportStateId: negId, }, { // Add enough endpoints to trigger pagination @@ -75,6 +78,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) { ResourceName: "google_compute_network_endpoints.default", ImportState: true, ImportStateVerify: true, + ImportStateId: negId, }, { // Remove enough endpoints to trigger pagination @@ -84,6 +88,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) { ResourceName: "google_compute_network_endpoints.default", ImportState: true, ImportStateVerify: true, + ImportStateId: negId, }, { // delete all endpoints