- Newest
- Most votes
- Most comments
This sounds like you may not have the right version of the AWS CLI installed on your uBuntu instance. By default V1 is available from the uBuntu repository, for V2 (which I recommend you use), you'll need to install it.
- https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html Follow the instructions on how to install it on Linux in the guide for version 2.
Hope this helps.
Thanks for your prompt reply! One thing I found strange is that it shows currently running on version 2 like below owner@a-Desktop:/mnt/d$ wsl.exe -l -v NAME STATE VERSION
- Ubuntu Running 2 docker-desktop Stopped 2 docker-desktop-data Stopped 2 which means I am running on version 2 now
However, I found shell commandLine is version 0.2.1 owner@a-Desktop:/mnt/d$ wsl Wsman Shell commandLine, version 0.2.1
I clicked the accepted button for my appreciation to you but pls advise me if you have any clue on this ..
Do the following: 'aws --version' at the command line. It should return something like aws-cli/2.10.0 Python/3.11.2 If it is 1.x. update it following the steps above.
Relevant content
- asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 7 months ago
Thank you! Resolved