When auto-prompt is on, aws codecommit credential-helper fails. #8370
Labels
auto-prompt-mode
Issues related to CLI auto-prompt mode
documentation
This is a problem with documentation.
duplicate
This issue is a duplicate.
Describe the bug
aws codecommit credential-helper
command fails when auto-prompt ison
.Expected Behavior
If auto-prompt is on, the command will successfully complete.
Current Behavior
The command fails with a warning
Warning: Input is not a terminal (fd=0).
and an errorUnknown options: protocol=https
.Reproduction Steps
My output:
Possible Solution
I guess this error is caused by the temporary use of STDOUT to show prompt when using auto-prompt, which does not happen when
on-partial
, it might be enough to just mention that in the documentation.Additional Information/Context
No response
CLI version used
aws-cli/2.13.27
Environment details (OS name and version, etc.)
Python/3.11.6 Darwin/22.6.0 exe/x86_64 prompt/off
The text was updated successfully, but these errors were encountered: