Permission Error with Terraform while cloning a Git module

Hi, we have a terraform module that has its source in a separate private git repo e.g.

module “vm” {
source = “git::https://gitlab.com/pathtomodule/my-tf-module-vm.git
}

We have stood up our own self hosted runners.

Running terraform init in the CI pipeline was working fine. The module would be cloned as expected.
Then it stopped working with this error (I’ve redacted some information as its sensitive):

Error: Failed to download module

Could not download module “vm”

source code from
git::https://gitlab.com/pathtomodule/my-tf-module-vm.git:
error downloading

/usr/bin/git exited with 128: Cloning into

No such device or address

Can someone pls tell me if there is anything specific on the runner we need to configured to get this working? We’ve read through

We’re assuming that the runner supported this Terraform statement " Terraform installs modules from Git repositories by running git clone , and so it will respect any local Git configuration set on your system, including credentials. To access a non-public Git repository, configure Git with suitable credentials for that repository"

but we haven’t found RCA as to why it is now not working.