added support for Frankfurt eu-central-1 region. Closes #810

This commit is contained in:
Eslam A. Hefnawy 2016-03-21 14:44:36 +07:00
parent 09faa3b71c
commit 33873d3305
2 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ module.exports = function(S) {
'us-east-1',
'us-west-2', // Oregon
'eu-west-1', // Ireland
'eu-central-1', // Frankfurt
'ap-northeast-1' // Tokyo
];

View File

@ -71,6 +71,7 @@ module.exports = function(S) {
if (name.includes('useast1')) return 'us-east-1';
if (name.includes('uswest2')) return 'us-west-2';
if (name.includes('euwest1')) return 'eu-west-1';
if (name.includes('eucentral1')) return 'eu-central-1';
if (name.includes('apnortheast1')) return 'ap-northeast-1';
}
}