If you provide a reference to a non-existent keypair, Fog gives us this completely reasonable but not terribly user-friendly error message:
Fog::Compute::AWS::NotFound: The key pair '/Users/jsmith/.ssh/id_dsa.pub' does not exist
in /lib/excon/connection.rb:272:in `request_kernel'
We should probably catch this exception (and possibly others) and spit out a simple error message that explains that they need to set up a keypair on AWS and reference it by name.
If you provide a reference to a non-existent keypair, Fog gives us this completely reasonable but not terribly user-friendly error message:
We should probably catch this exception (and possibly others) and spit out a simple error message that explains that they need to set up a keypair on AWS and reference it by name.