@@ -68,16 +68,17 @@ func TestAccBigtableInstance_cluster(t *testing.T) {
6868 ResourceName : "google_bigtable_instance.instance" ,
6969 ImportState : true ,
7070 ImportStateVerify : true ,
71- ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" }, // we don't read instance type back
71+ ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" , "cluster" }, // we don't read instance type back
7272 },
7373 {
7474 Config : testAccBigtableInstance_clusterReordered (instanceName , 5 ),
7575 },
7676 {
7777 ResourceName : "google_bigtable_instance.instance" ,
7878 ImportState : true ,
79+ PlanOnly : true ,
7980 ImportStateVerify : true ,
80- ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" }, // we don't read instance type back
81+ ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" , "cluster" }, // we don't read instance type back
8182 },
8283 {
8384 Config : testAccBigtableInstance_clusterModified (instanceName , 5 ),
@@ -86,16 +87,17 @@ func TestAccBigtableInstance_cluster(t *testing.T) {
8687 ResourceName : "google_bigtable_instance.instance" ,
8788 ImportState : true ,
8889 ImportStateVerify : true ,
89- ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" }, // we don't read instance type back
90+ ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" , "cluster" }, // we don't read instance type back
9091 },
9192 {
9293 Config : testAccBigtableInstance_clusterReordered (instanceName , 5 ),
9394 },
9495 {
9596 ResourceName : "google_bigtable_instance.instance" ,
9697 ImportState : true ,
98+ PlanOnly : true ,
9799 ImportStateVerify : true ,
98- ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" }, // we don't read instance type back
100+ ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" , "cluster" }, // we don't read instance type back
99101 },
100102 {
101103 Config : testAccBigtableInstance_clusterModifiedAgain (instanceName , 5 ),
@@ -104,7 +106,7 @@ func TestAccBigtableInstance_cluster(t *testing.T) {
104106 ResourceName : "google_bigtable_instance.instance" ,
105107 ImportState : true ,
106108 ImportStateVerify : true ,
107- ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" }, // we don't read instance type back
109+ ImportStateVerifyIgnore : []string {"deletion_protection" , "instance_type" , "cluster" }, // we don't read instance type back
108110 },
109111 },
110112 })
0 commit comments