Andrew P
11/16/2022, 10:07 PM| ERROR | prefect.agent - Failed to create work queue 'default'.
when trying to connect to my Prefect Cloud work queue from ECS. I've verified that the PREFECT_API_URL
looks right (basically, "<https://api.prefect.cloud/api/accounts/${prefect_account_id}/workspaces/${prefect_workspace_id}>"
, and the two variables when substituted in the env var are the same as in my prefect cloud UI url). Is there any other failure mode that might result in this? Can I pass a debug flag to see if the failure is eg a 403 vs a lack of dns or something? No google results and the error seems pretty opaque. Starting with the command ["prefect","agent","start","-q","default"]
using the image prefecthq/prefect:2-python3.10
Zanie
PREFECT_API_KEY
set, right?Andrew P
11/16/2022, 10:10 PMZanie
prefect config view --show-secrets
to verify.Andrew P
11/16/2022, 10:15 PMZanie