jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation
Other
2.04k stars 137 forks source link

Follow symlinks when building zip files #123

Open dshivak opened 7 years ago

dshivak commented 7 years ago

Adding a call to os.path.realpath(source) in resources/lambdas.py:get_zip_file would allow use of symlinks. Currently symlinks get zipped up without error and fail when deployed.

candlerb commented 7 years ago

Also: If an editor leaves around backup files like foo.py~ then these are uploaded as part of the zipfile. It would be good to have an exclusion pattern.