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"