0

I believe AWS CodeDeploy Triggers only supports SNS notifications (currently). Is it possible to hook into the events, i.e. DEPLOYMENT_FAILURE, to run a custom bash/batch/ps script?

Motivation is to provide slack notifications of success/failure in one of our dev channels.

1 Answer 1

1

For your specific use case you should use a Lambda function. Amazon provides blueprints for Lambda functions that post to Slack, and you can subscribe Lambda functions to an SNS topic.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks for help, terraformed the sns topic, subscription, deployment group triggers and lambda function: gist.github.com/lukehutton/74c47f7fd0dfdf08cc26d6e3403fd61a

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.