Sometimes there are breaking changes made by updates to the circleci/aws-elastic-beanstalk orb. Currently, v3.20.5 of the Elastic Beanstalk CLI contains changes that are incompatible with CircleCI's architecture. This means that the orbs like our circleci/aws-elastic-beanstalk orb will not work until a new update is pushed because the orb pulls from the latest version.
While an update on our end should be out shortly to address the issue with the orb, this still means that v3.20.5 does not work with CircleCI. As a workaround, we would recommend creating commands that will emulate the function of the orb, while installing the most recently compatible version of the EB CLI (v3.20.3). For example, these commands could be added to your config and modified as needed to suit your environment:
description: "Install EB CLI"
name: Install pip3 and ebcli
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install python3-pip
pip3 install awsebcli==3.20.3
description: "Deploy command"
name: Deploy using eb cli
eb deploy --[PLACE DEPLOY COMMAND PARAMETERS HERE]--