Skip to content

Commit c9b58f8

Browse files
authored
fix: ckafa zoneid diff suppress when initial (#957)
1 parent 7186828 commit c9b58f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/resource_tc_ckafka_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func resourceTencentCloudCkafkaInstance() *schema.Resource {
7878
zoneId := d.Get("zone_id").(int)
7979
v, ok := d.GetOk("zone_ids")
8080

81-
if !multiZone || !ok {
81+
if !multiZone || !ok || old == "" {
8282
return old == new
8383
}
8484

0 commit comments

Comments
 (0)