Skip to content

Commit

Permalink
Just attaching as a file
Browse files Browse the repository at this point in the history
  • Loading branch information
julialawrence committed Nov 22, 2024
1 parent 4131191 commit 521c998
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/entraid-scim-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"

0 comments on commit 521c998

Please sign in to comment.