We re-deployed our ECS agents with the PREFECT__CLOUD__AUTH_TOKEN env var instead of (PREFECT__CLOUD__AGENT__AUTH_TOKEN), set to the new API key. The agents start up and show green on the agent status page in cloud. But the scheduled flows never start (eventually get resurrected but error out on the third try). What am I doing wrong?
m
Mariia Kerimova
05/01/2021, 2:59 PM
Hello! I just was reading this, and as I understand you need to provide service account API key with
PREFECT__CLOUD__AGENT__AUTH_TOKEN
.
upvote 1
a
Adam Roderick
05/01/2021, 3:02 PM
Ah I thought PREFECT__CLOUD__AUTH_TOKEN superseded the env var you referenced. Reading this link, it looks like they have separate purposes