I'm trying to use AWS CLI, using Powershell on a virtual server, but I cannot use the configure command correctly. What am I doing wrong?

0

We installed AWS CLI 2.4.20 on a Windows 2012 server. We allow outbound on 80 and 443. I have the credentials I need to enter for the configuration, but when I enter "aws configure", the PowerShell cursor just blinks at me. I am running PS in administrator mode as well. Here is the debug results if this helps. Did I miss a step. I have looked at all the online AWS documentation for configuring AWS CLI and have watched a couple of videos. It does not look like it should be this difficult.

PS C:\Windows\system32> aws configure --debug aws : 2022-02-23 16:27:48,313 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.4.20 Python/3.8.8 Windows/2012ServerR2 exe/AMD64 At line:1 char:1

  • aws configure --debug
  •   + CategoryInfo          : NotSpecified: (2022-02-23 16:2...verR2 exe/AMD64:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    

2022-02-23 16:27:48,313 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['configure', '--debug']

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_s3 at 0x000000DE405A7DC0>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_ddb at 0x000000DE403FCA60>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.configure.configure.ConfigureCommand'>>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x000000DE403A9280>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function change_name at 0x000000DE403B13A0>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function alias_opsworks_cm at 0x000000DE405B6820>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_history_commands at 0x000000DE4044B940>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <bound method BasicCommand.add_command of <class 'awscli.customizations.devcommands.CLIDevCommand'>>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event building-command-table.main: calling handler <function add_waiters at 0x000000DE405ADA60>

2022-02-23 16:27:48,360 - MainThread - botocore.loaders - DEBUG - Loading JSON file: C:\Program Files\Amazon\AWSCLIV2\awscli\data\cli.json

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_types at 0x000000DE404FD940>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function no_sign_request at 0x000000DE404FF4C0>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_verify_ssl at 0x000000DE404FF430>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_read_timeout at 0x000000DE404FF5E0>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <function resolve_cli_connect_timeout at 0x000000DE404FF550>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event top-level-args-parsed: calling handler <built-in method update of dict object at 0x000000DE406545C0>

2022-02-23 16:27:48,360 - MainThread - awscli.clidriver - DEBUG - CLI version: aws-cli/2.4.20 Python/3.8.8 Windows/2012ServerR2 exe/AMD64 prompt/off

2022-02-23 16:27:48,360 - MainThread - awscli.clidriver - DEBUG - Arguments entered to CLI: ['configure', '--debug']

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_timestamp_parser at 0x000000DE405A9430>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function register_uri_param_handler at 0x000000DE40154D30>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function add_binary_formatter at 0x000000DE40616CA0>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function no_pager_handler at 0x000000DE40152160>

2022-02-23 16:27:48,360 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_assume_role_provider_cache at 0x000000DE401ABA60>

2022-02-23 16:27:48,375 - MainThread - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/

2022-02-23 16:27:48,375 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function attach_history_handler at 0x000000DE4044B820>

2022-02-23 16:27:48,375 - MainThread - botocore.hooks - DEBUG - Event session-initialized: calling handler <function inject_json_file_cache at 0x000000DE403F9940>

2022-02-23 16:27:48,375 - MainThread - botocore.hooks - DEBUG - Event building-command-table.configure: calling handler <function _add_wizard_command at 0x000000DE40616C10>

2022-02-23 16:27:48,375 - MainThread - botocore.hooks - DEBUG - Event building-command-table.configure: calling handler <function add_waiters at 0x000000DE405ADA60>

2022-02-23 16:27:48,375 - MainThread - botocore.hooks - DEBUG - Event load-cli-arg.custom.configure.anonymous: calling handler <awscli.paramfile.URIArgumentHandler object at 0x000000DE4079DE80>

Nautius
gefragt vor 2 Jahren368 Aufrufe
1 Antwort
0

What does aws --version output? If I was to guess, I'd check the python version running which should be at least 3.8.x or higher.

AWS
nael
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen