@@ -31,7 +31,7 @@ func TestAccVmwareenginePrivateCloud_vmwareEnginePrivateCloudUpdate(t *testing.T
3131 {
3232 Config : testPrivateCloudUpdateConfig (context , "description1" , 1 ),
3333 Check : resource .ComposeTestCheckFunc (
34- acctest .CheckDataSourceStateMatchesResourceStateWithIgnores ("data.google_vmwareengine_private_cloud.ds" , "google_vmwareengine_private_cloud.vmw-engine-pc" , map [string ]struct {}{}),
34+ acctest .CheckDataSourceStateMatchesResourceStateWithIgnores ("data.google_vmwareengine_private_cloud.ds" , "google_vmwareengine_private_cloud.vmw-engine-pc" , map [string ]struct {}{"type" : {} }),
3535 testAccCheckGoogleVmwareengineNsxCredentialsMeta ("data.google_vmwareengine_nsx_credentials.nsx-ds" ),
3636 testAccCheckGoogleVmwareengineVcenterCredentialsMeta ("data.google_vmwareengine_vcenter_credentials.vcenter-ds" ),
3737 ),
@@ -40,7 +40,7 @@ func TestAccVmwareenginePrivateCloud_vmwareEnginePrivateCloudUpdate(t *testing.T
4040 ResourceName : "google_vmwareengine_private_cloud.vmw-engine-pc" ,
4141 ImportState : true ,
4242 ImportStateVerify : true ,
43- ImportStateVerifyIgnore : []string {"location" , "name" , "update_time" },
43+ ImportStateVerifyIgnore : []string {"location" , "name" , "update_time" , "type" },
4444 },
4545 {
4646 Config : testPrivateCloudUpdateConfig (context , "description2" , 4 ), // Expand PC
@@ -49,7 +49,7 @@ func TestAccVmwareenginePrivateCloud_vmwareEnginePrivateCloudUpdate(t *testing.T
4949 ResourceName : "google_vmwareengine_private_cloud.vmw-engine-pc" ,
5050 ImportState : true ,
5151 ImportStateVerify : true ,
52- ImportStateVerifyIgnore : []string {"location" , "name" , "update_time" },
52+ ImportStateVerifyIgnore : []string {"location" , "name" , "update_time" , "type" },
5353 },
5454 {
5555 Config : testPrivateCloudUpdateConfig (context , "description2" , 3 ), // Shrink PC
@@ -58,7 +58,7 @@ func TestAccVmwareenginePrivateCloud_vmwareEnginePrivateCloudUpdate(t *testing.T
5858 ResourceName : "google_vmwareengine_private_cloud.vmw-engine-pc" ,
5959 ImportState : true ,
6060 ImportStateVerify : true ,
61- ImportStateVerifyIgnore : []string {"location" , "name" , "update_time" },
61+ ImportStateVerifyIgnore : []string {"location" , "name" , "update_time" , "type" },
6262 },
6363 },
6464 })
0 commit comments