provider/aws: Fix type mismatch issue with AWS RDS
This commit is contained in:
parent
0e3eaa391f
commit
6ff9b0c776
|
@ -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