chalice package --pkg-format terraform /tmp/packaged-app/
unzip -l /tmp/packaged-app/deployment.zip | tail -n 5
This tmp folder is on my local machine but I want to add the terraform script in my project
If files are small, just add them into your chalicelib/
folder. More info at chalice documentation: https://aws.github.io/chalice/topics/multifile.html
If your files are reasonably big, upload them at s3 and download them during the initialization of the lambdas.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.