mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-22 23:21:08 +02:00
* initial changes with no test coverage * test coverage and fixes * additional edit config test coverage * clean up * clean up * Address pr feedback * welp missed an await * missed * take back * Update configure-ssh-test.js
32 lines
608 B
JavaScript
32 lines
608 B
JavaScript
/**
|
|
* Copyright (c) HashiCorp, Inc.
|
|
* SPDX-License-Identifier: BUSL-1.1
|
|
*/
|
|
|
|
import { helper as buildHelper } from '@ember/component/helper';
|
|
|
|
//list from http://docs.aws.amazon.com/general/latest/gr/rande.html#sts_region
|
|
const REGIONS = [
|
|
'', // initial region blank
|
|
'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);
|