From fe08323a78035f1a60f59d53d308b8e63af3c9d4 Mon Sep 17 00:00:00 2001 From: mikatong Date: Tue, 4 Apr 2023 17:09:11 +0800 Subject: [PATCH] remove name validate --- tencentcloud/resource_tc_eip.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tencentcloud/resource_tc_eip.go b/tencentcloud/resource_tc_eip.go index 04609def1e..0541ebad53 100644 --- a/tencentcloud/resource_tc_eip.go +++ b/tencentcloud/resource_tc_eip.go @@ -46,11 +46,10 @@ func resourceTencentCloudEip() *schema.Resource { Schema: map[string]*schema.Schema{ "name": { - Type: schema.TypeString, - Optional: true, - Computed: true, - ValidateFunc: validateStringLengthInRange(1, 20), - Description: "The name of eip.", + Type: schema.TypeString, + Optional: true, + Computed: true, + Description: "The name of eip.", }, "type": { Type: schema.TypeString,