Skip to content

Commit

Permalink
Added ap-south-1 region to setup
Browse files Browse the repository at this point in the history
  • Loading branch information
IanMeyers committed Apr 11, 2018
1 parent 14272e3 commit 8eed09f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var rl = {
var qs = [];

q_region = function(callback) {
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-east-2", "us-west-1", "us-west-2" ];
var regionsArray = [ "ap-south-1", "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-east-2", "us-west-1", "us-west-2" ];
// region for the configuration
if (common.blank(setupConfig.region) !== null) {
common.validateArrayContains(regionsArray, setupConfig.region.toLowerCase(), rl);
Expand Down
2 changes: 1 addition & 1 deletion setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var qs = [];
q_region = function(callback) {
rl.question('Enter the Region for the Configuration > ', function(answer) {
if (common.blank(answer) !== null) {
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-east-2", "us-west-1", "us-west-2" ], answer
common.validateArrayContains([ "ap-south-1", "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-east-2", "us-west-1", "us-west-2" ], answer
.toLowerCase(), rl);

setRegion = answer.toLowerCase();
Expand Down

0 comments on commit 8eed09f

Please sign in to comment.