acoustic-carpenter-78188
10/03/2023, 2:09 AMSNS
2. SNS push the event to SQS
3. FlyteAdmin webhook processor pulls the event from SQS
4. Parse the event, and then render the payload template ({{ name }} succeeded)
5. Send the event to external service by calling the webhook endpoint
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☐ Code completed
☐ Smoke tested
☐ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
webhook config
externalEvents:
enable: true
type: "aws"
aws:
region: "us-west-2"
eventsPublisher:
topicName: "arn:aws:sns:us-west-2:590375264460:webhook"
eventTypes:
- all
webhooknotifications:
aws:
region: "us-west-2"
webhooks:
name: slack
url: https://hooks.slack.com/services/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
payload: "{{ name }} succeeded"
processor:
queueName: webhook
accountId: "590375264460"
Tracking Issue
#2317
Follow-up issue
NA
flyteorg/flyte
GitHub Actions: publish-development-helm-chart (flyteagent)
GitHub Actions: generate_kustomize
GitHub Actions: Docker Build Images (datacatalog) / build_docker
GitHub Actions: publish-development-helm-chart (flyte-core)
GitHub Actions: generate_helm
GitHub Actions: unpack-envvars
GitHub Actions: compile
GitHub Actions: publish-development-helm-chart (flyte-binary)
GitHub Actions: docs
GitHub Actions: Check for spelling errors
✅ 2 other checks have passed
2/12 successful checks