https://pulumi.com logo
#general
Title
# general
r

rhythmic-actor-14991

06/29/2021, 7:13 AM
how can I send a message to slackbot after the pulumi is done ?
b

brave-planet-10645

06/29/2021, 9:17 AM
A few ways. If you're on our Pro / Enterprise packages you can use webhooks from the Pulumi console to ping slack. If you're using automation api, then you can just use the SDK once you've finished the
.up
method If you're running a standard Pulumi program then it's a bit trickier because you have to know the last thing that you're deploying, but if you know that, you can use something like
apply()
on the id or name of that resource and then run the slack sdk code in that