Skip to content

Commit

Permalink
Merge pull request #36 from cloudsploit/adding-regions-1-10-17
Browse files Browse the repository at this point in the history
Adding support for us-east-2, ca-central-1, eu-west-2
  • Loading branch information
matthewdfuller committed Jan 11, 2017
2 parents f56ad54 + 2a60a4e commit c818558
Showing 1 changed file with 20 additions and 6 deletions.
26 changes: 20 additions & 6 deletions helpers/regions.js
@@ -1,5 +1,6 @@
var regions = [
'us-east-1', // Northern Virginia
'us-east-2', // Ohio
'us-west-1', // Northern California
'us-west-2', // Oregon
'ap-northeast-1', // Asia Pacific (Tokyo)
Expand All @@ -8,8 +9,10 @@ var regions = [
'ap-southeast-2', // Asia Pacific (Sydney)
'eu-central-1', // EU (Frankfurt)
'eu-west-1', // EU (Ireland)
'eu-west-2', // London
'sa-east-1', // South America (São Paulo)
'ap-south-1' // Mumbai
'ap-south-1', // Mumbai
'ca-central-1' // Canada (Montreal)
];

module.exports = {
Expand All @@ -20,12 +23,23 @@ module.exports = {
elb: regions,
kms: regions,
vpc: regions,
flowlogs: regions,
rds: regions,
apigateway: ['us-east-1', 'us-west-2', 'eu-west-1', 'eu-central-1', 'ap-southeast-1', 'ap-northeast-1'],
apigateway: [
'us-east-1', 'us-east-2', 'us-west-1', 'us-west-2',
'eu-west-1', 'eu-central-1',
'ap-southeast-1', 'ap-northeast-1'],
cloudwatch: regions,
dynamodb: regions,
ecr: ['us-east-1', 'us-west-2', 'eu-west-1'],
ecs: ['us-east-1', 'us-west-1', 'us-west-2', 'eu-west-1', 'eu-central-1', 'ap-southeast-1', 'ap-northeast-1', 'ap-southeast-2'],
ses: ['us-east-1', 'us-west-2', 'eu-west-1'],
flowlogs: ['us-east-1', 'us-west-1', 'us-west-2', 'ap-northeast-1', 'ap-southeast-2', 'ap-southeast-1', 'eu-west-1', 'eu-central-1']
ecr: [
'us-east-1', 'us-east-2', 'us-west-1', 'us-west-2', 'ca-central-1',
'eu-west-1', 'eu-west-2', 'eu-central-1',
'ap-northeast-1', 'ap-southeast-1', 'ap-southeast-2'],
ecs: [
'us-east-1', 'us-east-2', 'us-west-1', 'us-west-2', 'ca-central-1',
'eu-west-1', 'eu-west-2', 'eu-central-1',
'ap-southeast-1', 'ap-northeast-1', 'ap-southeast-2'],
ses: [
'us-east-1', 'us-west-2',
'eu-west-1']
};

0 comments on commit c818558

Please sign in to comment.