Sha256: e9cce80bf60b0eb3395423f1bfb87d436e5375be8ca006aa627cdb0f25d3b811

Contents?: true

Size: 675 Bytes

Versions: 28

Compression:

Stored size: 675 Bytes

Contents

#!/usr/bin/env ruby

# Amazon Web Services EC2 Query API Ruby library
#
# Ruby Gem Name::  amazon-ec2
# Author::    Glenn Rempe  (mailto:glenn@rempe.us)
# Copyright:: Copyright (c) 2007-2008 Glenn Rempe
# License::   Distributes under the same terms as Ruby
# Home::      http://github.com/grempe/amazon-ec2/tree/master
#++

if ENV['AMAZON_ACCESS_KEY_ID'] && ENV['AMAZON_SECRET_ACCESS_KEY']
  opts = {
    :access_key_id => ENV['AMAZON_ACCESS_KEY_ID'],
    :secret_access_key => ENV['AMAZON_SECRET_ACCESS_KEY']
  }
  if ENV['EC2_URL']
    opts[:server] = URI.parse(ENV['EC2_URL']).host
  end
  @ec2 = EC2::Base.new(opts)
end

puts "EC2 Server: #{opts[:server]}"

include EC2

Version data entries

28 entries across 28 versions & 5 rubygems

Version Path
grempe-amazon-ec2-0.3.5 bin/setup.rb
grempe-amazon-ec2-0.3.6 bin/setup.rb
grempe-amazon-ec2-0.3.7 bin/setup.rb
grempe-amazon-ec2-0.3.8 bin/setup.rb
grempe-amazon-ec2-0.4.0 bin/setup.rb
grempe-amazon-ec2-0.4.1 bin/setup.rb
grempe-amazon-ec2-0.4.2 bin/setup.rb
grempe-amazon-ec2-0.4.3 bin/setup.rb
grempe-amazon-ec2-0.4.4 bin/setup.rb
grempe-amazon-ec2-0.4.5 bin/setup.rb
grempe-amazon-ec2-0.4.6 bin/setup.rb
grempe-amazon-ec2-0.4.8 bin/setup.rb
kerryb-amazon-ec2-0.3.6 bin/setup.rb
kerryb-amazon-ec2-0.3.7 bin/setup.rb
kerryb-amazon-ec2-0.3.8 bin/setup.rb
kerryb-amazon-ec2-0.3.9 bin/setup.rb
kunley-amazon-ec2-0.3.8 bin/setup.rb
rsanheim-amazon-ec2-0.3.6.2 bin/setup.rb
amazon-ec2-0.4.6 bin/setup.rb
amazon-ec2-0.4.8 bin/setup.rb