A small command line script to deploy to multiple AWS Elastic Beanstalk environments. If you have multiple environments on the same application and you want to update them all a once without you will find this tool helpful.
You will need AWSCLI which requires python and the script is written in PHP so you will need that as well
-
Download
-
You might need to make it an executable
chmod a+x /path/to/ebdeployall
-
You can put it on your
/usr/local/bin/
or link to your path to make it globaly available:ln -s /path/to/downloaded/edeployall /usr/local/bin/or/similar/ebdeployall
After you do your eb init and your project is set up for eb deploy
you can use ebdeployall
and it will read all the environments on the application and deploy the default application version to all of them. It will do a dry run if the flag --run
is not set which I recommend not using until everything looks good from the dry run.