Terraform get lambda file from different repo

I have a dedicated lambda github repo to store all the codes. My infrastructure repo where I keep all the terraform code is different. Is there a way set lambda_file_path to get the lambda file from a different github repo?