@@ -44,15 +44,15 @@ func TestAccTencentCloudCkafkaInstanceResource_prepaid(t *testing.T) {
44
44
resource .TestCheckResourceAttr ("tencentcloud_ckafka_instance.kafka_instance" , "max_message_byte" , "1025" ),
45
45
resource .TestCheckResourceAttr ("tencentcloud_ckafka_instance.kafka_instance" , "renew_flag" , "0" ),
46
46
resource .TestCheckResourceAttr ("tencentcloud_ckafka_instance.kafka_instance" , "kafka_version" , "1.1.1" ),
47
- resource .TestCheckResourceAttr ("tencentcloud_ckafka_instance.kafka_instance" , "disk_size" , "200 " ),
47
+ resource .TestCheckResourceAttr ("tencentcloud_ckafka_instance.kafka_instance" , "disk_size" , "300 " ),
48
48
resource .TestCheckResourceAttr ("tencentcloud_ckafka_instance.kafka_instance" , "disk_type" , "CLOUD_BASIC" ),
49
49
),
50
50
},
51
51
{
52
52
ResourceName : "tencentcloud_ckafka_instance.kafka_instance" ,
53
53
ImportState : true ,
54
54
ImportStateVerify : true ,
55
- ImportStateVerifyIgnore : []string {"period" , "max_message_byte" , "charge_type" },
55
+ ImportStateVerifyIgnore : []string {"period" , "max_message_byte" , "charge_type" , "upgrade_strategy" },
56
56
},
57
57
},
58
58
})
@@ -128,7 +128,7 @@ func TestAccTencentCloudCkafkaInstanceResource_maz(t *testing.T) {
128
128
ResourceName : "tencentcloud_ckafka_instance.kafka_instance" ,
129
129
ImportState : true ,
130
130
ImportStateVerify : true ,
131
- ImportStateVerifyIgnore : []string {"period" , "max_message_byte" , "charge_type" },
131
+ ImportStateVerifyIgnore : []string {"period" , "max_message_byte" , "charge_type" , "upgrade_strategy" },
132
132
},
133
133
},
134
134
})
@@ -154,7 +154,7 @@ func TestAccTencentCloudCkafkaInstanceResource_type(t *testing.T) {
154
154
ResourceName : "tencentcloud_ckafka_instance.kafka_instance" ,
155
155
ImportState : true ,
156
156
ImportStateVerify : true ,
157
- ImportStateVerifyIgnore : []string {"period" , "max_message_byte" , "charge_type" },
157
+ ImportStateVerifyIgnore : []string {"period" , "max_message_byte" , "charge_type" , "upgrade_strategy" },
158
158
},
159
159
},
160
160
})
@@ -257,7 +257,7 @@ resource "tencentcloud_ckafka_instance" "kafka_instance" {
257
257
max_message_byte = 1025
258
258
renew_flag = 0
259
259
kafka_version = "1.1.1"
260
- disk_size = 200
260
+ disk_size = 300
261
261
band_width = 20
262
262
disk_type = "CLOUD_BASIC"
263
263
partition = 400
0 commit comments