Remove SetId() call from *Read(), this isn't required for import to work.
This commit is contained in:
parent
f253fc9eff
commit
e9b2b38288
|
@ -324,7 +324,6 @@ func resourcePostgreSQLDatabaseRead(d *schema.ResourceData, meta interface{}) er
|
|||
dbTemplate = "template0"
|
||||
}
|
||||
d.Set(dbTemplateAttr, dbTemplate)
|
||||
d.SetId(dbName)
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue