@@ -39,9 +39,10 @@ func TestAccComputeAddress_addressBasicExample(t *testing.T) {
3939 Config : testAccComputeAddress_addressBasicExample (context ),
4040 },
4141 {
42- ResourceName : "google_compute_address.ip_address" ,
43- ImportState : true ,
44- ImportStateVerify : true ,
42+ ResourceName : "google_compute_address.ip_address" ,
43+ ImportState : true ,
44+ ImportStateVerify : true ,
45+ ImportStateVerifyIgnore : []string {"subnetwork" , "region" },
4546 },
4647 },
4748 })
@@ -71,9 +72,10 @@ func TestAccComputeAddress_addressWithSubnetworkExample(t *testing.T) {
7172 Config : testAccComputeAddress_addressWithSubnetworkExample (context ),
7273 },
7374 {
74- ResourceName : "google_compute_address.internal_with_subnet_and_address" ,
75- ImportState : true ,
76- ImportStateVerify : true ,
75+ ResourceName : "google_compute_address.internal_with_subnet_and_address" ,
76+ ImportState : true ,
77+ ImportStateVerify : true ,
78+ ImportStateVerifyIgnore : []string {"subnetwork" , "region" },
7779 },
7880 },
7981 })
@@ -118,9 +120,10 @@ func TestAccComputeAddress_addressWithGceEndpointExample(t *testing.T) {
118120 Config : testAccComputeAddress_addressWithGceEndpointExample (context ),
119121 },
120122 {
121- ResourceName : "google_compute_address.internal_with_gce_endpoint" ,
122- ImportState : true ,
123- ImportStateVerify : true ,
123+ ResourceName : "google_compute_address.internal_with_gce_endpoint" ,
124+ ImportState : true ,
125+ ImportStateVerify : true ,
126+ ImportStateVerifyIgnore : []string {"subnetwork" , "region" },
124127 },
125128 },
126129 })
@@ -182,9 +185,10 @@ func TestAccComputeAddress_instanceWithIpExample(t *testing.T) {
182185 Config : testAccComputeAddress_instanceWithIpExample (context ),
183186 },
184187 {
185- ResourceName : "google_compute_address.static" ,
186- ImportState : true ,
187- ImportStateVerify : true ,
188+ ResourceName : "google_compute_address.static" ,
189+ ImportState : true ,
190+ ImportStateVerify : true ,
191+ ImportStateVerifyIgnore : []string {"subnetwork" , "region" },
188192 },
189193 },
190194 })
0 commit comments