module "magento" {
<…>
source = "git::https://access-token:<…>@<…>/devops/k8s-terraform-tf-modules//magento"
<…>
}
Terraform does not directly run a git clone
.
It uses an internal go-getter library that is designed to handle Git operations and other source URLs in a more robust and flexible way.
This mechanism can bypass certain issues that might affect a direct git clone
command.