ecs-deploy
ecs-deploy copied to clipboard
Running in a bash script - exiting early
I have run into issues trying to use this in a bash script with set -e / even when successful, it seems to crap out... I have to set +e before calling ecs-deploy
Example:
#!/bin/bash
set -e
echo "Starting"
ecs-deploy -c xyz -n abc1 -i somewhere:latest
echo "Second deploy"
ecs-deploy -c xyz -n abc2 -i somewhere:latest
echo "I made it"
Do you know where in ecs-deploy a command is failing and causing the exit?
It appears #234 may address this situation. Since nothing has been commented on since then, closing this issue.