AssetSync / asset_sync

Synchronises Assets between Rails and S3
1.88k stars 346 forks source link

use_iam_profile and fog-aws #394

Open xxx44yyy opened 4 years ago

xxx44yyy commented 4 years ago

https://github.com/AssetSync/asset_sync/blob/91573bedb6bcbdfb878bee4744971b68dd94c25e/lib/asset_sync/config.rb#L230-L238

needs:

if aws_iam?
    options.merge!({
        :use_iam_profile => true
    })
end

options.merge!({
    :aws_access_key_id => aws_access_key_id,
    :aws_secret_access_key => aws_secret_access_key
})

...
mgoggin commented 4 years ago

This might get more traction if you forked the repo and made the change and opened a pull request with this change.

PikachuEXE commented 4 years ago

It's actually related to #339 But I do want users to ensure this is not due to upstream gem fog-aws issue / setup issue See my https://github.com/AssetSync/asset_sync/issues/339#issuecomment-571953447