jeudi 4 juin 2015

Determine Deployment Group from appspec.yml

I am using the elb scripts from http://ift.tt/1KcM7q0 to remove my ec2 instances from the load balancer before I do my code updates.

I need to define the load balancer in the ELB_LIST variable of the common_functions.sh bash script. This load balancer will be different for each environment (or deployment group).

Is there a way I can set this variable based on which deployment group I am deploying too from within this bash script?

The application artifacts will be the same, but deployed to different environments or groups and hence, different load balancers.




Aucun commentaire:

Enregistrer un commentaire