mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
added support for Frankfurt eu-central-1 region. Closes #810
This commit is contained in:
parent
09faa3b71c
commit
33873d3305
@ -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
|
||||
];
|
||||
|
||||
|
||||
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user