Skip to content

Commit a85ccc8

Browse files
authored
fix(mongodb): [126590581] tencentcloud_mongodb_instance update instance_name properties (#3483)
* add * add
1 parent 959535f commit a85ccc8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.changelog/3483.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_mongodb_instance: update `instance_name` properties
3+
```

tencentcloud/services/mongodb/extension_mongodb.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,9 @@ const (
7575
func TencentMongodbBasicInfo() map[string]*schema.Schema {
7676
return map[string]*schema.Schema{
7777
"instance_name": {
78-
Type: schema.TypeString,
79-
Required: true,
80-
ValidateFunc: tccommon.ValidateStringLengthInRange(2, 35),
81-
Description: "Name of the Mongodb instance.",
78+
Type: schema.TypeString,
79+
Required: true,
80+
Description: "Name of the Mongodb instance.",
8281
},
8382
"memory": {
8483
Type: schema.TypeInt,

0 commit comments

Comments
 (0)