Closed barnesrobert closed 1 year ago
@barnesrobert
The function already has a database my_database.db that store just the policies.
From the comment in the cheat sheet it looks like the commented import was intentional to show the schema
Look at the lambda source code. You should see the database structure in a comment, as well as the code that is handling input parameters.
I know, but the execution fails when writing the my_database.db
file. It needs to be written to /tmp
.
It does not need to write to the file (my_database.db) because it already has the policies.
I used this to view the file.
Ah, I thought at first glance that it was being created dynamically. I see now that it's included in the source package. Thanks for the clarification.
Lambda functions must write to "/tmp" of the function's local storage.