middleman-cloudfront
middleman-cloudfront copied to clipboard
Switching to the AWS gem
If the AWS gem was used it would automatically pick up credentials via IAM roles as well as ENV and a file in ~/.aws/…
. I also find it more stable than Fog and with fewer dependencies. Have you considered replacing fog?
http://docs.aws.amazon.com/sdkforruby/api/Aws/CloudFront/Client.html#create_invalidation-instance_method