From c1ed5a2745513684c385dd2a243a1cd886cdbb3c Mon Sep 17 00:00:00 2001 From: cts01586841 Date: Fri, 3 Jan 2025 10:51:16 +0800 Subject: [PATCH] resource/alicloud_db_instance: add new attributes:bursting_enabled and modify sql_collector_config_value --- alicloud/resource_alicloud_rds_account.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alicloud/resource_alicloud_rds_account.go b/alicloud/resource_alicloud_rds_account.go index 598e60fe718a..d39b19c8f62b 100644 --- a/alicloud/resource_alicloud_rds_account.go +++ b/alicloud/resource_alicloud_rds_account.go @@ -46,7 +46,7 @@ func resourceAlicloudRdsAccount() *schema.Resource { Optional: true, Computed: true, ForceNew: true, - ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[a-z][a-z0-9_]{0,61}[a-z0-9]$`), "The name can consist of lowercase letters, numbers, underscores, and must begin with letters and end with letters or numbers"), + ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9_]{0,61}[a-zA-Z0-9]$`), "The name can consist of letters, numbers, underscores, and must begin with letters and end with letters or numbers"), ConflictsWith: []string{"name"}, }, "name": { @@ -54,7 +54,7 @@ func resourceAlicloudRdsAccount() *schema.Resource { Optional: true, Computed: true, ForceNew: true, - ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[a-z][a-z0-9_]{0,61}[a-z0-9]$`), "The name can consist of lowercase letters, numbers, underscores, and must begin with letters and end with letters or numbers"), + ValidateFunc: validation.StringMatch(regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9_]{0,61}[a-zA-Z0-9]$`), "The name can consist of letters, numbers, underscores, and must begin with letters and end with letters or numbers"), Deprecated: "Field 'name' has been deprecated from provider version 1.120.0. New field 'account_name' instead.", ConflictsWith: []string{"account_name"}, },