From 521c9981de8596e10786e3ec7d0ee7b4cae6c676 Mon Sep 17 00:00:00 2001 From: julialawrence Date: Fri, 22 Nov 2024 17:39:26 +0000 Subject: [PATCH] Just attaching as a file --- .github/workflows/entraid-scim-plan.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/entraid-scim-plan.yml b/.github/workflows/entraid-scim-plan.yml index 6a6788e0..117a3288 100644 --- a/.github/workflows/entraid-scim-plan.yml +++ b/.github/workflows/entraid-scim-plan.yml @@ -49,6 +49,7 @@ jobs: with: secret-ids: | SLACK_INCOMING_WEBHOOK,aws-root-account-notifications-incoming-slack-webhook + aws-root-account-notifications-slack-information - name: Send initial message to Slack id: slack_message @@ -69,10 +70,10 @@ jobs: - name: Send Terraform plan output to Slack uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d #v2.0.0 with: - webhook: ${{ env.SLACK_INCOMING_WEBHOOK }} - webhook-type: incoming-webhook + token: ${{ env.SLACK_BOT_TOKEN }} method: files.uploadV2 payload: | + channel: ${{ env.SLACK_CHANNEL }} initial_comment: Terraform output attached! file: "plan_output.txt" filename: "plan-output-${{ github.run_id }}.txt"