Nic09/21/2022, 8:55 AM
Mason Menges09/21/2022, 3:27 PM
is expecting an interactive terminal which is why this error is getting thrown, you'll want to set the prefect api url prefect api key manually in this case
prefect cloud login -k xxx_xxxxxxxxx
prefect config set PREFECT_API_URL="<https://api.prefect.cloud/api/accounts/xxxxxxxxxxxxxxxxxxxxxxxxxxxx/workspaces/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>" prefect config set PREFECT_API_KEY="api_keyxxxxxxxxxxxxxxxx"