I work on a deployment process using AWS CodeDeploy. When there is a failure in one of the scripts specified in appspec.yml, you get this nice little log output giving back STDOUT:
However, when all events are successful, it seems there is no way to see STDOUT:
Is there a way to see all STDOUT even when deployment events succeed?
Someone managed to get the answer to this and here is the solution:
On each instance:
cat /opt/codedeploy-agent/deployment-root/deployment-logs/codedeploy-agent-deployments.log
Sorry for the bother, hope it helps somebody one day!