Skip to content

Commit d0a340b

Browse files
author
mikatong
committed
fix ResourceUnavailable.NotSupported
1 parent 2d8c2a1 commit d0a340b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tencentcloud/services/cbs/resource_tc_cbs_storage.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"context"
55
"fmt"
66
"log"
7+
"time"
78

89
tccommon "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/common"
910
svctag "github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/tag"
@@ -228,6 +229,7 @@ func resourceTencentCloudCbsStorageCreate(d *schema.ResourceData, meta interface
228229
return err
229230
}
230231

232+
time.Sleep(5 * time.Second)
231233
d.SetId(storageId)
232234

233235
if v, ok := d.GetOk("disk_backup_quota"); ok {

0 commit comments

Comments
 (0)