I am running some test with AWS CodeDeploy service and managed to deploy my app from github, so far so good.
But now I need to git revision that is deployed in the AfterInstall hook. Is there a way to get the git revision?
Already looked in the deployment-archive dir but it looks like the agent is doing a git export since there is no .git directory.
To get the specific revision deployed, you'll have to pull the deployment details from CodeDeploy as it's not currently exposed to hook scripts.