aws-utilities
aws-utilities copied to clipboard
Parallel Deploys to multiple ElasticBeanstalk Applications / Environments
If you try to do a parallel deploy to multiple ElasticBeanstalk Applications / Environments then only one artefact gets replicated across all those environments :(
Because this line uses the commit ID and the date/time, and does not include the artefact / environment name, while the artefacts can be built from different folders, they will resolve to the same S3 object. That will then be deployed everywhere.
https://github.com/codeship-library/aws-utilities/blob/cf5bf6df9bc242ad0ffdc5856108ca57f02b603c/deployment/scripts/codeship_aws_eb_deploy#L16
Sometimes you'll get lucky and the second will be different, but I'm not that lucky.