I am creating a step function that orchestrates a lamda. The lamda has 4 simple endpoints.

I would like to save the lamda and step function in the same git repo. Regarding this:

1. Is this good practice or should they be in separate repos on code commit?
2. If this is good practice, what is the best way to manage the deploy pipeline - for two related projects in the same repo?