From 81c512c845ca409720d98f74471349a63a7d824e Mon Sep 17 00:00:00 2001 From: thefringeninja <495495+thefringeninja@users.noreply.github.com> Date: Tue, 18 Jun 2019 17:10:05 +0200 Subject: [PATCH] sql server rds no longer has this restriction --- aws/resource_aws_db_instance.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/aws/resource_aws_db_instance.go b/aws/resource_aws_db_instance.go index 5d5ce8f9c65..d87c9041cf2 100644 --- a/aws/resource_aws_db_instance.go +++ b/aws/resource_aws_db_instance.go @@ -479,12 +479,6 @@ func resourceAwsDbInstanceCreate(d *schema.ResourceData, meta interface{}) error identifier = resource.UniqueId() } - // SQL Server identifier size is max 15 chars, so truncate - if engine := d.Get("engine").(string); engine != "" { - if strings.Contains(strings.ToLower(engine), "sqlserver") { - identifier = identifier[:15] - } - } d.Set("identifier", identifier) }