Search code examples
amazon-web-servicesaws-code-deploy

Get notified of successful/failed builds on Amazon's CodeDeploy


I'd like to build a tool that would notify a user each time there was a successful or failed build on CodeDeploy through any communication medium (email, slack, etc). I've went through their documentation.. and nothing except for long-polling comes to mind. Any idea if there's some webhook option where i can register a URL and be notified?


Solution

  • Update on 2016-04-27

    AWS officially announced this in February 2016:

    You can now create triggers that send Amazon SNS notifications before, during, and after the deployment process for your applications. Triggers can be set for the deployment as a whole or for the individual instances targeted by the deployment, and are sent on both successes and failures.

    Original answer

    Not yet.

    In this AWS forum thread, it was requested that CodeDeploy emit events so you can use Lambda to process them instead of polling for details.

    The answer by AWS staff (emphasis mine):

    We here on CodeDeploy agree. Unfortunately, I can't give you an exact release date but keep an eye on our announcements, it's coming soon.