From 2974320ba0634ee7a9bbdd0557a8190bd007068a Mon Sep 17 00:00:00 2001 From: Glyn Davies Date: Fri, 16 Nov 2012 16:21:22 +0000 Subject: [PATCH] Added support for AWS Sydney (ap-southeast-2) --- lib/boxgrinder-build/helpers/ec2-helper.rb | 11 ++++++++++- lib/boxgrinder-build/helpers/s3-helper.rb | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/lib/boxgrinder-build/helpers/ec2-helper.rb b/lib/boxgrinder-build/helpers/ec2-helper.rb index 3cf2835..1c1ed98 100644 --- a/lib/boxgrinder-build/helpers/ec2-helper.rb +++ b/lib/boxgrinder-build/helpers/ec2-helper.rb @@ -151,6 +151,15 @@ def self.endpoints } }, + 'ap-southeast-2' => { + :endpoint => 'ec2.ap-southeast-2.amazonaws.com', + :location => 'ap-southeast-2', + :kernel => { + :i386 => {:aki => 'aki-3f990e05'}, + :x86_64 => {:aki => 'aki-3d990e07'} + } + }, + 'ap-northeast-1' => { :endpoint => 'ec2.ap-northeast-1.amazonaws.com', :location => 'ap-northeast-1', @@ -197,4 +206,4 @@ def self.endpoints } } end -end \ No newline at end of file +end diff --git a/lib/boxgrinder-build/helpers/s3-helper.rb b/lib/boxgrinder-build/helpers/s3-helper.rb index 560cee4..e44d800 100644 --- a/lib/boxgrinder-build/helpers/s3-helper.rb +++ b/lib/boxgrinder-build/helpers/s3-helper.rb @@ -87,6 +87,15 @@ def deslash(path) } }, + 'ap-southeast-2' => { + :endpoint => 's3-ap-southeast-2.amazonaws.com', + :location => 'ap-southeast-2', + :kernel => { + :i386 => {:aki => 'aki-3f990e05'}, + :x86_64 => {:aki => 'aki-3d990e07'} + } + }, + 'ap-northeast-1' => { :endpoint => 's3-ap-northeast-1.amazonaws.com', :location => 'ap-northeast-1', @@ -134,4 +143,4 @@ def deslash(path) } end -end \ No newline at end of file +end