I'm using S3 archive deployment app to deploy a zip file generated from build process. When I deploy to several servers I notice that the absolute path generated by the deployment are different on each servers. Apparently the path is using the deployment time and each servers can deploy the app in different seconds.
e.g.
Server1: /srv/www/myapp/releases/20141112085530/
Server2: /srv/www/myapp/releases/20141112085520/
Server3: /srv/www/myapp/releases/20141112085515/
In the app I have a script that requires absolute path of the app, so the return of the script will be different from each servers. This will be inconvenient if I use non sticky session ELB.
My current solution is that the script will require a hash generated for every build instead of absolute path.
But I'm just wondering if there is minimum way to config the OpsWorks to make the absolute path of the deployment consistent for each servers for S3 deployment.