Skip to content

Commit 78066e7

Browse files
tongyimingmikatong
andauthored
remove name validate (#1643)
Co-authored-by: mikatong <mikatong@tencent.com>
1 parent 31f0a5e commit 78066e7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tencentcloud/resource_tc_eip.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,10 @@ func resourceTencentCloudEip() *schema.Resource {
4646

4747
Schema: map[string]*schema.Schema{
4848
"name": {
49-
Type: schema.TypeString,
50-
Optional: true,
51-
Computed: true,
52-
ValidateFunc: validateStringLengthInRange(1, 20),
53-
Description: "The name of eip.",
49+
Type: schema.TypeString,
50+
Optional: true,
51+
Computed: true,
52+
Description: "The name of eip.",
5453
},
5554
"type": {
5655
Type: schema.TypeString,

0 commit comments

Comments
 (0)