Closed moulip closed 6 years ago
@moulip Thanks for reporting and well spotted! I will have a look. Though after tomorrow I am away for 2 weeks.
awless
indeed parses that value as Integer base 10 so the preceding 0 is removed.
Fix is to quote that value like so:
awless update image id=ami-30xxxx accounts="0929XXXX"
As seen with @moulip it fixes the issue.
Note that is it not working with the fish shell
due to the way it handles quotes in commands.
Issue is considered fixed.
I'm trying to share a private AMI using someone's AWS account number, and it seems that Awless doen't like account numbers beginning with 0:
It strips the 0 and add a trailing space before the closing ".
When I try with a non-zero beginning account it works flawlessly: