Bad ami-id gives SignatureDoesNotMatch error
If a image-id is incorrect it is giving error message indicating problem with signature.
$ aws ec2 run-instances --image-id ami-12345678 --min-count 1 --max-count 1 --instance-type t1.micro
{ "Response": { "Errors": { "Error": { "Message": "The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.", "Code": "SignatureDoesNotMatch" } }, "RequestID": "b622a3ee-1f97-424e-83c8-2ebdb0cbadba" } } A client error (SignatureDoesNotMatch) occurred: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
This appears to be a duplicate of #134. I'm closing this one.