Join Slack
Powered by
Hi, what is the easiest way to create a flow run f...
# ask-community
r
Raphaël S
11/22/2023, 9:53 AM
Hi, what is the easiest way to create a flow run from a deployment from an AWS Lambda function. I am currently trying to use the following http call:
https://api.prefect.cloud/api/accounts/{account_id}/workspaces/{workspace_id}/deployments/{id}/create_flow_run
with specifying the ecs task document id previously retrieved with the following http call:
https://api.prefect.cloud/api/accounts/{account_id}/workspaces/{workspace_id}/block_documents/filter
but I got the following error:
t
Tess Dicker
11/22/2023, 3:00 PM
Hey
@Raphaël S
, the ECS task block error is occuring because you also need to have prefect-aws installed! You can attempt that and see if it works
r
Raphaël S
11/23/2023, 7:56 AM
Hi
@Tess Dicker
, thank you for the answer, it actually solves my issue !
Open in Slack
Previous
Next