Lowercasing the instance name to ensure that matches across AWS builds

This commit is contained in:
Martyn Inglis
2016-05-19 14:33:14 +01:00
parent 5f7292f92c
commit b550ee1e8f
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ msg "Getting relevant load balancer"
INSTANCE_NAME=$(get_instance_name_from_tags $INSTANCE_ID)
if [[ $INSTANCE_NAME =~ 'delivery' ]]; then
if [[ "$(tr [:upper:] [:lower:] <<< "${INSTANCE_NAME}")" =~ 'delivery' ]]; then
msg "NO ELBs for delivery"
exit 0
fi