If you are using awsebcli installed via pip, this may help you.
We found the source code for the AWS-EB client 3.10.1 on PyPi.
The problem is how git repositories are handled when you download the project source code to load it into AWS. If you are not using git for your AWS project, the entire project directory (including any other git modules in subdirectories you may have in it) is encrypted and sent to AWS. If you use git, then all registered or phased code, except for submodules, is encrypted and sent to AWS. git missing submodules.
We wrote a fix for this problem, changing the behavior so that the submodules are also added to the archive with a zipper. You can see the fix at github.com/uppercasebrands/awsebcli-3.10.1/compare/eb-deploy-submodule in our git repository, which is created from the original PyPi package.
You can install fixed awsebcli-3.10.1, which now supports submodules using pip:
pip install --upgrade git+https://github.com/uppercasebrands/ awsebcli-3.10.1.git@eb-deploy-submodule
source share