shy-accountant-549
03/22/2024, 2:54 AMshy-accountant-549
03/22/2024, 3:10 AMconfiguration.inline
notifications:
emailer:
sender: flyte-notifications@company.com
subject: 'Notice: Execution "{{ name }}" has "{{ phase }}" in "{{ domain}}".'
body: >
View details at <a href=<http://flyte.abc.com/projects{{> project }}/domains/{{ domain }}/executions/{{ name }}>
processor:
accountId: 1234567
queueName: flyte
publisher:
topicName: arn:aws:sns:us-east-1:1234567:flyte
region: us-east-1
type: aws
it took some effect because the flyte-binary pod failed to access sqs at first. So I added the sqs and sns policies to the iam role to fix it.
howerver, there was no message sent to the sqs (and thus slack or email) when I launched workflows with:
FlyteRemote.execute(
my_wf,
options=remote.Options(
notifications=[
flytekit.Slack(
[WorkflowExecutionPhase.ABORTED, WorkflowExecutionPhase.FAILED, WorkflowExecutionPhase.SUCCEEDED],
["abc@abc.slack.com"],
),
flytekit.Email(
[WorkflowExecutionPhase.ABORTED, WorkflowExecutionPhase.FAILED, WorkflowExecutionPhase.SUCCEEDED],
["abc@abc.com"],
),
]
)
)
tall-lock-23197
shy-accountant-549
03/22/2024, 1:21 PMemailer
section with kustomization after helm templating. My issue seems different. From the aws console I saw flyte-binary is fetching the sqs messages however there was no message sent to the queue when a workflow reached a termination state.average-finland-92144
03/22/2024, 4:05 PMshy-accountant-549
03/22/2024, 4:08 PM