Open earthquakesan opened 6 years ago
P.S. It took me couple of minutes to figure out that I have a keypair in the wrong region
Thanks for the suggestion. More detailed output as to the exact reason and region would definitely be helpful.
If retrieving region is not feasible, the next helpful thing would be to output all the key names to the user. They are retrieved anyway, that will be just a line of code.
i.e. "Could not find key 'stardog-ssh-key' in the keys available on AWS. The available keys are: ['key-1', 'key-2', 'key-3'].
When creating new deployment, if the ssh key pair is not in the region, graviton will spit an error:
For improving the readability, I suggest to modify the error output to: