简体   繁体   中英

my Aws chalice and terraform is using tmp folder on my local machine how to include them in codebase for production?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM