We have a terraform module developed and kept it inside a repo and people access it by putting below in their main.tf
module "standard_ingress" {
source = "git::https://xxx.xx.xx/scm/xxxx/xxxx-terraform-eks-ingress-module.git?ref=master"
When they do terraform init
whole repo is being cloned to folder (~/.terraform/modules/standard_ingress)
We have some non terraform module related folders as well in the same repo and same branch. Is there a way, we can make terraform init exclude those folders being cloned.
Thanks.