I had the same problem. I used aws.push to update my application. Then I switched to a new computer, and I had to configure everything again.
you can use
eb deploy
However, depending on how you set up the project, you may need to map the deployment to a branch. Using:
eb branch
I was attached and wanted to make sure that I did not spoil the deployment by introducing any new problems into the production environment, and I wanted to use:
git aws.push
It can still be done.
Download an outdated version of the AWS Elastic Beanstalk command-line tool here
Then, from inside your repo, do AWSDevTools-RepositorySetup.sh . You can find this file in the zip file you just downloaded, AWS-ElasticBeanstalk-CLI-2.6.4 / AWSDevTools / Linux
Now run
git aws.config
After setting up, you can run git aws.push without any problems.
Now I use eb deploy, but I was in a binding and never used it and had no time to test it. So it worked for me.
source share