Leon Kozlowski
10/07/2021, 8:00 PMstate_handler
) with prefect cloud, does the webhook URL have to be stored in Prefect Secrets, or can it just be available as an environment variable (my use case would be loading an eternal secret to an eks cluster)Kevin Kho
run
method of the SlackTask has a webhook_url kwarg. You can use that task inside a state handler by invoking the run methodLeon Kozlowski
10/07/2021, 8:17 PMslack_notifier
explicitly loads a Prefect SecretKevin Kho
Leon Kozlowski
10/07/2021, 8:31 PMKevin Kho
Leon Kozlowski
10/07/2021, 8:49 PMSlackTask
Kevin Kho
SlackTask.run()