Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix terminate #27

Merged
merged 2 commits into from
Nov 20, 2020
Merged

Fix terminate #27

merged 2 commits into from
Nov 20, 2020

Conversation

imuqtadir
Copy link
Contributor

Fix multiple error messages for instance not available to terminate.

Sample message after this fix:

Select the region:
[Press enter to choose default: us-east-1]
+--------+----------------+---------------------------+
| OPTION |     REGION     |        DESCRIPTION        |
+--------+----------------+---------------------------+
| 1.     | ap-northeast-1 | Asia Pacific (Tokyo)      |
+--------+----------------+---------------------------+
| 2.     | ap-northeast-2 | Asia Pacific (Seoul)      |
+--------+----------------+---------------------------+
| 3.     | ap-northeast-3 | Asia Pacific (Osaka)      |
+--------+----------------+---------------------------+
| 4.     | ap-south-1     | Asia Pacific (Mumbai)     |
+--------+----------------+---------------------------+
| 5.     | ap-southeast-1 | Asia Pacific (Singapore)  |
+--------+----------------+---------------------------+
| 6.     | ap-southeast-2 | Asia Pacific (Sydney)     |
+--------+----------------+---------------------------+
| 7.     | ca-central-1   | Canada (Central)          |
+--------+----------------+---------------------------+
| 8.     | eu-central-1   | Europe (Frankfurt)        |
+--------+----------------+---------------------------+
| 9.     | eu-north-1     | Europe (Stockholm)        |
+--------+----------------+---------------------------+
| 10.    | eu-west-1      | Europe (Ireland)          |
+--------+----------------+---------------------------+
| 11.    | eu-west-2      | Europe (London)           |
+--------+----------------+---------------------------+
| 12.    | eu-west-3      | Europe (Paris)            |
+--------+----------------+---------------------------+
| 13.    | sa-east-1      | South America (Sao Paulo) |
+--------+----------------+---------------------------+
| 14.    | us-east-1      | US East (N. Virginia)     |
+--------+----------------+---------------------------+
| 15.    | us-east-2      | US East (Ohio)            |
+--------+----------------+---------------------------+
| 16.    | us-west-1      | US West (N. California)   |
+--------+----------------+---------------------------+
| 17.    | us-west-2      | US West (Oregon)          |
+--------+----------------+---------------------------+
Your Choice >> 10
Terminate Error: No instance available in selected region for termination

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@imuqtadir imuqtadir requested a review from bwagner5 November 19, 2020 20:53
Copy link
Contributor

@bwagner5 bwagner5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bwagner5 bwagner5 merged commit bab6bf8 into awslabs:main Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants