Send Terraform Drift Status To Slack Channel
In this post, we’ll see how we can schedule a shell script to check for Terraform drift and send notifications to a Slack channel.
Step1: Create a test environment following https://github.com/vinycoolguy2015/terraform_ansible/tree/master/ques4
Step2: Go to https://api.slack.com and create an App. Enable Incoming Webhooks for this App. Then click Add New Webhook to Workspace.