https://prefect.io logo
Title
z

Zack

03/09/2023, 3:34 PM
What would cause this error,? "/var/task/prefect/context.py:501: UserWarning: Failed to create the Prefect home directory at /home/sbx_user1051/.prefect /var/task/prefect/context.py:501: UserWarning: Failed to create the Prefect home directory at /home/sbx_user1051/.prefect"
r

redsquare

03/09/2023, 3:38 PM
I think permissions - you need to set PREFECT_HOME to where the lambda can write
z

Zack

03/09/2023, 4:28 PM
That seem to work, I set PREFECT_HOME to '/tmp/prefect'. However none of the logs are showing up in cloudwatch, as they are with regular logs outside of Prefect.