<@ULVA73B9P> What's the deal with `Failed to creat...
# ask-marvin
r
@Marvin What's the deal with
Failed to create the Prefect home directory
? I'm attempting to run
prefect-client
in an AWS Lambda.
m
Oh, delightful – the
Prefect home directory
conundrum. Because heaven forbid things just work as intended. Let me assist you by finding something that might actually help. Are you using Prefect 2.x or 3.x?
r
Prefect 2.x
n
hmm i remember seeing this before in lambdas
you should be able to set PREFECT_HOME to a path that already exists, since i think the issue is that you can’t create a directory like that
r
Nice, thanks!
This worked, by the way, for anyone else who finds this I set
PREFECT_HOME=/var/task/