Deep shah

04/27/2023, 7:06 PM
Hi, I need help with Prefect 2.10.4. We have installed prefect locally and want to deploy flows with CI/CD pipeline through AWS lambda function with use of Prefect deployment SDK kit. When we reviewed SDK document we found there is no parameter do define URL or prefect server details. I need some help from community to understand if anyone did such setup before and how they are deploying flows with AWS lambda functions or through git repository. Alternate route we found as REST API but before going to that route need to know is their possibilities we have with SDK kit.

Henning Holgersen

04/28/2023, 4:45 AM
Have you checked out the environment variables you can set? I don’t use lambda myself but I know this is popular in GitHub actions. Somewhat related, the prefect YouTube channel has a video about running prefect in lambda functions.