I recently upgraded my AWSCLI msi install and have had issues ever since then using the awscli tool.
I’ve tried uninstalling the AWSCLI and reinstalling as well as removing any trace of the withokta.bat/awscli.bat tools.
I am able to have the awscli perform the 2FA, but when I try to execute the aws command exectuable directly it does not recognize that I have an active session.
Also when trying to run aws commands proxied from the awscli I receive the following error.
C:\Users\jmorrell>java -classpath "C:\Users\jmorrell\.okta\*" com.okta.tools.awscli Exception in thread "main" java.io.IOException: Cannot run program "aws": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source) at com.okta.tools.awscli.main(awscli.java:57) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 2 more
Both the aws and awscli.bat as well as the withokta.bat commands are available to my PATH.
I am working from a Windows 10 machine.
I’m not sure if I’ve posted this in the right spot or not, but any assistance is much appreciated.