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
# Forked from jmlacroix/aws_cf_invalidate.rb | |
# Modified to read s3 creds from the environment and the distribution id from arguments passed in. | |
require 'rubygems' | |
require 'hmac-sha1' | |
require 'net/https' | |
require 'base64' | |
s3_access=ENV['S3_ACCESS'] | |
s3_secret=ENV['S3_SECRET'] |