We have a pipeline that we’re building that I would like to have some more robust notifications in it.
One step in the pipeline will be setting some environment variables based on terraform outputs. We then want to take this output, and notify our current on-call engineer in slack with it, along with the pipeline state.
While it would be possible to set Slack webhooks and directly post messages from a script, I feel like it would be significantly cleaner and readable to have it live within the pipeline itself.
Also, are there considerations to have a notification step, rather than just an attribute? It would be useful to have notifications outside of just a pass/fail.