简体   繁体   中英

How do I use chef to download a file from AWS S3 and save this to a particular directory using chef?

Trying to use chef to download a file from a private AWS S3 bucket and save this in a local directory using chef. Any tips/tricks?

通常,您将使用s3_file食谱中的s3_file资源。

you can create a web directory listing with the below script and use remote_file resource to download files from amazon S3

https://aws.amazon.com/code/amazon-s3-bucket-listing/

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