Lambda Python 3.6 environment has few standard modules missed. This is module to support dbm.
To use this module inside Lambda Python 3.6 environment, just clone the repository and put file _dbm.cpython-36m-x86_64-linux-gnu.so to the root of your Lambda distribution package.