Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
## 1.60.26 (January 6, 2022)

COMMON:

* fix testcases

ENHANCEMENTS:

* resource `tencentcloud_vpc` support vpc assistant CIDR
* resource `tencentcloud_eip` support create HighQualityEIP
* resource `tencentcloud_instance` support charge type update

## 1.60.25 (December 27, 2021)

BUGFIXES:

* Resource `tencentcloud_instance` rollback instance_charge_type_prepaid_period

## 1.60.24 (December 27, 2021)

COMMON:

* add testcases basic required resource

BUGFIXES:

* fix service mongodb status query

## 1.60.23 (December 24, 2021)

ENHANCEMENTS:
Expand Down
2 changes: 1 addition & 1 deletion tencentcloud/resource_tc_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ func resourceTencentCloudInstanceUpdate(d *schema.ResourceData, meta interface{}

if d.HasChange("instance_charge_type") {
old, chargeType := d.GetChange("instance_charge_type")
if old.(string) != CVM_CHARGE_TYPE_POSTPAID || chargeType.(string) != CVM_CHARGE_TYPE_PREPAID {
if old.(string) != CVM_CHARGE_TYPE_POSTPAID || chargeType.(string) != CVM_CHARGE_TYPE_PREPAID {
return fmt.Errorf("Only support change chargeType from POSTPAID_BY_HOUR to PREPAID.")
}
var (
Expand Down