aws-cli icon indicating copy to clipboard operation
aws-cli copied to clipboard

Get Wafv2 Web ACL freezes the terminal

Open castodius opened this issue 2 years ago • 1 comments

Describe the bug

Attempting to get a Wafv2 Web ACL makes the terminal freeze.

Expected Behavior

Interactive mode displaying required parameters immediately when selecting the operation.

Current Behavior

The terminal freezes when selecting the operation.

Reproduction Steps

  • Make sure the CLI is configured for interactive mode, I am setting the variable AWS_CLI_AUTO_PROMPT to on-partial in my terminal
  • Start an interactive session by for example running "aws wafv2"
  • Start typing "get-web-acl" and select it
  • The terminal should freeze at this point

Possible Solution

No response

Additional Information/Context

Other get operations such as "aws lambda get-function" displays available parameters just fine. I assume something must be off with the config for get webacl.

CLI version used

2.11.21

Environment details (OS name and version, etc.)

macOS Big Sur, Version 11.7.6

castodius avatar May 24 '23 10:05 castodius

Thanks @castodius for reporting this issue. I could reproduce this as well. It's strange that it's just occurring for aws wafv2 get-web-acl.

At this auto-prompt screen I tried to go down and select an option and that works after ~10 seconds (but the options never get highlighted when I press the up and down arrows):

image

Some further review is needed here into what could be causing this and which other commands may be affected.

Update: the issue here probably has to do with the size of this documentation model: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/wafv2/get-web-acl.html. Loading the model is causing the delay in auto-prompt mode. We will continue to track this issue.

tim-finnigan avatar May 30 '23 19:05 tim-finnigan