Skip to content

Commit 15f9a21

Browse files
authored
Merge branch 'master' into master
2 parents 2d61cca + e4e463c commit 15f9a21

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ ENHANCEMENTS:
44

55
* update Resource and Datasource description.
66

7+
BUG FIXES:
8+
9+
* Resource: `tencentcloud_mysql_instance` fix creating prepaid instance error.
10+
711
## 1.45.1 (October 16, 2020)
812

913
ENHANCEMENTS:

tencentcloud/resource_tc_mysql_instance.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,8 @@ func TencentMsyqlBasicInfo() map[string]*schema.Schema {
111111
Optional: true,
112112
Default: 1,
113113
ConflictsWith: []string{"pay_type", "period"},
114-
DiffSuppressFunc: func(k, olds, news string, d *schema.ResourceData) bool {
115-
return true
116-
},
117-
ValidateFunc: validateAllowedIntValue(MYSQL_AVAILABLE_PERIOD),
118-
Description: "Period of instance. NOTES: Only supported prepaid instance.",
114+
ValidateFunc: validateAllowedIntValue(MYSQL_AVAILABLE_PERIOD),
115+
Description: "Period of instance. NOTES: Only supported prepaid instance.",
119116
},
120117
"auto_renew_flag": {
121118
Type: schema.TypeInt,

0 commit comments

Comments
 (0)