Merge pull request #1464 from hashicorp/b-aws-db-fix-name
provider/aws: Fix type mismatch issue with AWS RDS
This commit is contained in:
commit
c7cd77b822
|
@ -349,7 +349,7 @@ func resourceAwsDbInstanceRead(d *schema.ResourceData, meta interface{}) error {
|
|||
arn, err := buildRDSARN(d, meta)
|
||||
if err != nil {
|
||||
name := "<empty>"
|
||||
if v.DBName != "" {
|
||||
if v.DBName != nil && *v.DBName != "" {
|
||||
name = *v.DBName
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue