Skip to content

Commit

Permalink
Fixes #14 "standup works only with us-east-1 region"
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefork committed Aug 28, 2012
1 parent 74ce927 commit 4e99887
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/standup/ec2/base.rb
Expand Up @@ -54,7 +54,8 @@ def api

def self.api
@@api ||= AWS::EC2::Base.new :access_key_id => Settings.aws.access_key_id,
:secret_access_key => Settings.aws.secret_access_key
:secret_access_key => Settings.aws.secret_access_key,
:server => "ec2.#{Settings.aws.availability_zone[/\w+-\w+-\d+/]}.amazonaws.com"
end
end
end
Expand Down

0 comments on commit 4e99887

Please sign in to comment.