jorgebastida / gordon

λ Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Follow symlinks when building zip files

dshivak opened this issue · comments

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.

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.