When you try to run an AWSCLI command in Pacu, you get the following error:
Pacu (beanstalk_secrets_session:beanstalk_admin) > aws --sts get-caller-identity
'Namespace' object has no attribute 'cli_binary_format'
Downgrade your version of AWS CLI from v2 to v1.
pipx install awscli
Pacu (beanstalk_secrets:beanstalk_admin) > aws --version
aws-cli/1.45.29 Python/3.12.3 Linux/6.18.33.1-microsoft-standard-WSL2 botocore/1.43.29
As of June 2026, Pacu does not seem to be completely compatible with AWS CLI2.