This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source accepts http/https or the protocol region:// with the host as the bucket | |
# access_key_id and secret_access_key are just that | |
# Note resource name has changed from s3_file to s3_aware_remote_file | |
# for the eu-west-1 region: | |
s3_aware_remote_file "/var/bulk/the_file.tar.gz" do | |
source "s3-eu-west-1://your.bucket/the_file.tar.gz" | |
access_key_id your_key | |
secret_access_key your_secret | |
owner "root" |