It’s not the deps. The zip that is being uploaded contains large binary files that are in my resources dir but also defined as to be ignored by git in the .gitignore file.
Whatever is bundling up the zip is not adhering to .gitignore.
@jaret Can you confirm that the cli that creates the zip only uses deps.edn and doesn’t care what is in the actual clean git repo?
I suppose you found your answer by now, but for future reference, yes, what’s pushed to AWS in the zip file is not defined by .gitignore, but by deps.edn's path specs. Accordingly, it’s best to keep the base paths lean as much as possible:
This picture illustrates that my dev-time alias adds extra paths that won’t be part of what’s uploaded to AWS.
For big resources that are really part of your application, you should probably put them separately on S3 instead of making them part of your app’s deployed package, even though this adds toil to your deployments.