open-vault/ui/app/helpers/aws-regions.js
Matthew Irish d509588cd2
Ember update (#5386)
Ember update - update ember-cli, ember-data, and ember to 3.4 series
2018-09-25 11:28:26 -05:00

26 lines
499 B
JavaScript

import { helper as buildHelper } from '@ember/component/helper';
//list from http://docs.aws.amazon.com/general/latest/gr/rande.html#sts_region
const REGIONS = [
'us-east-1',
'us-east-2',
'us-west-1',
'us-west-2',
'ca-central-1',
'ap-south-1',
'ap-northeast-1',
'ap-northeast-2',
'ap-southeast-1',
'ap-southeast-2',
'eu-central-1',
'eu-west-1',
'eu-west-2',
'sa-east-1',
];
export function regions() {
return REGIONS.slice(0);
}
export default buildHelper(regions);