Skip to content

Commit fad8d0e

Browse files
authored
Add more regions (#109)
1 parent b4a7a9e commit fad8d0e

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metlo/cli",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"license": "MIT",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

cli/src/aws/cliUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { AWS_REGIONS } from "./constants"
44
export const getRegion = async () => {
55
const regionResp = await prompt([
66
{
7-
type: "select",
7+
type: "autocomplete",
88
name: "_region",
99
message: "Select your AWS region",
1010
initial: 1,

cli/src/aws/constants.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,19 @@ export const AWS_REGIONS = [
33
"us-west-2",
44
"us-east-1",
55
"us-east-2",
6+
"ap-south-1",
7+
"ap-northeast-3",
8+
"ap-northeast-2",
9+
"ap-southeast-1",
10+
"ap-southeast-2",
11+
"ap-northeast-1",
12+
"ca-central-1",
613
"eu-central-1",
714
"eu-west-1",
815
"eu-west-2",
916
"eu-west-3",
1017
"eu-north-1",
18+
"sa-east-1",
1119
]
1220

1321
export const SUPPORTED_AWS_INSTANCES = [

0 commit comments

Comments
 (0)