Eb deploy throws UndefinedModelAttributeError

nodejs

#1
#!/bin/bash -eo pipefail
eb deploy
WARNING: You have uncommitted changes.
ERROR: UndefinedModelAttributeError :: "serviceId" not defined in the metadata of the model: <botocore.model.ServiceModel object at 0x7fdebf730510>
Exited with code 10

#2

I think the version of boto that you are using may be out of date. Could you try to update it? pip install -U boto