wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.98k stars 263 forks source link

show command with 17 character IDs isn't working #68

Closed rbellamy closed 7 years ago

rbellamy commented 7 years ago

Per the new AWS ID length, I find awless show i-wxyzaf21428e01234 throws the following error:

usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help
aws: error: argument command: Invalid choice, valid choices are:
rbellamy commented 7 years ago

I should mention that with an ID of legacy length, everything behaves as expected:

awless show i-wxyz9dcd
[info] cannot resolve resource - running full sync
...
simcap commented 7 years ago

In your first comment, the console error seems to be from another aws tool than awless. I just want to make sure that you used/pasted/ran the show command with awless.

Also there is no real restriction on the param given to awless show so id sizes should not matter.

On my side I checked that on my latest. You can give me the version (awless version) or sha you are on and I will test it on my side.

rbellamy commented 7 years ago

Wow. Just wow. I'm an idiot. Sorry for the noise... works as expected.

simcap commented 7 years ago

@rbellamy No worries. Keep testing :simple_smile:! Version 0.0.15 is out