mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-14 01:13:59 -06:00
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
Block a user