terraform
terraform copied to clipboard
Modules in Package Sub-directories space optimization
Terraform Version
1.5.1
Use Cases
I'm using module in package sub-directory feature because of we create one git repository to many terraform modules. We expect that only sub-directory specified in URL will stored on local disk, actually space used is number of module importer multiply by respository size. We think that module relative import must be managed from developer and is not responsibility of import function.
Attempted Solutions
AFAIK not solution with current implementation
Proposal
Download the entire repository but store on local disk only requested folder