lib/rest_connection.rb in rest_connection-0.1.0 vs lib/rest_connection.rb in rest_connection-0.1.1
- old
+ new
@@ -22,16 +22,20 @@
require 'rest_connection/patches'
require 'logger'
require 'highline/import'
module RestConnection
- AWS_CLOUDS = [{"cloud_id" => 1, "name" => "AWS US-East"},
+ AWS_CLOUDS = [
+ {"cloud_id" => 1, "name" => "AWS US-East"},
{"cloud_id" => 2, "name" => "AWS EU"},
{"cloud_id" => 3, "name" => "AWS US-West"},
{"cloud_id" => 4, "name" => "AWS AP-Singapore"},
- {"cloud_id" => 5, "name" => "AWS AP-Tokyo"}]
+ {"cloud_id" => 5, "name" => "AWS AP-Tokyo"},
+ {"cloud_id" => 6, "name" => "AWS US-Oregon"},
+ {"cloud_id" => 7, "name" => "AWS SA-Sao Paulo"},
+ ]
- # Check for API 0.1 Access
+ # Check for API 0.1 Access
def self.api0_1?
unless class_variable_defined?("@@api0_1")
begin
Ec2SshKeyInternal.find_all
@@api0_1 = true