Skip to content

Commit 704a74b

Browse files
committed
2 parents 360a8bf + 6147f1c commit 704a74b

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ FEATURES:
66
* **New Resource**: `tencentcloud_kms_external_key`
77
* **New Data Source**: `tencentcloud_kms_keys`
88

9-
## 1.53.7 (March 09, 2021)
9+
## 1.53.7 (March 10, 2021)
1010

1111
ENHANCEMENTS:
1212

1313
* Resource `tencentcloud_kubernetes_node_pool` add `internet_max_bandwidth_out`, `public_ip_assigned` to support internet traffic setting.
14+
* Resource `tencentcloud_instance` remove limit of `data_disk_size`.
1415

1516
## 1.53.6 (March 09, 2021)
1617

tencentcloud/connectivity/transport.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"time"
1111
)
1212

13-
const ReqClient = "Terraform-v1.53.6"
13+
const ReqClient = "Terraform-v1.53.7"
1414

1515
type LogRoundTripper struct {
1616
}

tencentcloud/resource_tc_instance.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -276,11 +276,10 @@ func resourceTencentCloudInstance() *schema.Resource {
276276
Description: "Data disk type. For more information about limits on different data disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952). Valid values: `LOCAL_BASIC`: local disk, `LOCAL_SSD`: local SSD disk, `CLOUD_BASIC`: HDD cloud disk, `CLOUD_PREMIUM`: Premium Cloud Storage, `CLOUD_SSD`: SSD, `CLOUD_HSSD`: Enhanced SSD. NOTE: `LOCAL_BASIC` and `LOCAL_SSD` are deprecated.",
277277
},
278278
"data_disk_size": {
279-
Type: schema.TypeInt,
280-
Required: true,
281-
ForceNew: true,
282-
ValidateFunc: validateIntegerInRange(10, 16000),
283-
Description: "Size of the data disk, and unit is GB. If disk type is `CLOUD_SSD`, the size range is [100, 16000], and the others are [10-16000].",
279+
Type: schema.TypeInt,
280+
Required: true,
281+
ForceNew: true,
282+
Description: "Size of the data disk, and unit is GB. If disk type is `CLOUD_SSD`, the size range is [100, 16000], and the others are [10-16000].",
284283
},
285284
"data_disk_snapshot_id": {
286285
Type: schema.TypeString,

tencentcloud/resource_tc_kubernetes_scale_worker.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ import (
107107
"fmt"
108108
"log"
109109
"strings"
110+
"time"
110111

111112
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
112113
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
@@ -322,7 +323,9 @@ func resourceTencentCloudTkeScaleWorkerCreate(d *schema.ResourceData, meta inter
322323

323324
d.SetId(id)
324325

325-
return nil
326+
//wait for LANIP
327+
time.Sleep(readRetryTimeout)
328+
return resourceTencentCloudTkeScaleWorkerRead(d, meta)
326329
}
327330

328331
func resourceTencentCloudTkeScaleWorkerRead(d *schema.ResourceData, meta interface{}) error {

0 commit comments

Comments
 (0)