Skip to content

Commit 6acf49c

Browse files
authored
Merge pull request #132 from ohgyun/feature/add-seoul-region
Add Seoul('ap-northeast-1') region to the setup configuration
2 parents d3dd161 + 7e4c150 commit 6acf49c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

setup-file.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ var rl = {
5353
var qs = [];
5454

5555
q_region = function(callback) {
56-
var regionsArray = [ "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", "us-west-1", "us-west-2" ];
56+
var regionsArray = [ "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", "us-west-1", "us-west-2" ];
5757
// region for the configuration
5858
if (common.blank(setupConfig.region) !== null) {
5959
common.validateArrayContains(regionsArray, setupConfig.region.toLowerCase(), rl);

setup.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
http://aws.amazon.com/asl/
77
8-
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.
8+
or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions and limitations under the License.
99
*/
1010

1111
/**
@@ -55,7 +55,7 @@ var qs = [];
5555
q_region = function(callback) {
5656
rl.question('Enter the Region for the Configuration > ', function(answer) {
5757
if (common.blank(answer) !== null) {
58-
common.validateArrayContains([ "ap-northeast-1", "ap-southeast-1", "ap-southeast-2", "eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", "us-west-1", "us-west-2" ], answer
58+
common.validateArrayContains([ "ap-northeast-1", "ap-northeast-2", "ap-southeast-1", "ap-southeast-2", "eu-central-1", "eu-west-1", "sa-east-1", "us-east-1", "us-west-1", "us-west-2" ], answer
5959
.toLowerCase(), rl);
6060

6161
setRegion = answer.toLowerCase();
@@ -411,7 +411,7 @@ last = function(callback) {
411411
// export the setup module so that customers can programmatically add new
412412
// configurations
413413
setup = function(useConfig, callback) {
414-
common.setup(useConfig, dynamoDB, s3, lambda, callback);
414+
common.setup(useConfig, dynamoDB, s3, lambda, callback);
415415
};
416416
exports.setup = setup;
417417

0 commit comments

Comments
 (0)