Better Progress Output
This tool does a number of advanced operations but doesn't tell the user what it's doing, making it very difficult to (for example) troubleshoot problems in the deploy process).
Simple things like "scaling up autoscaling group" or "adjusting target group" should be more visible.
Part of this is logging the progress of user data. In order to do that:
- Add following permissions to
- Ensure instances user data output goes to the console as well as the log: exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
update_asgto get a list of the new instance IDs
- Use ec2-get-console-output() to retrieve the output of these instances