We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88433a2 commit a82c02bCopy full SHA for a82c02b
terraform-apply.sh
@@ -35,6 +35,8 @@ if [ "${TERRAFORM_ACTION}" = "plan" ]; then
35
"${DIR}"
36
37
# Write a sentinel value; pipelines can alert to slack if set using `text_file`
38
+ # Ensure that slack notification resource detects text file
39
+ touch ./terraform-state/message.txt
40
if ! ${TERRAFORM} show ./terraform-state/terraform.tfplan | grep 'This plan does nothing.' ; then
41
echo "sentinel" > ./terraform-state/message.txt
42
fi
0 commit comments