terraform icon indicating copy to clipboard operation
terraform copied to clipboard

Modules in Package Sub-directories space optimization

Open msartor92 opened this issue 1 year ago • 3 comments

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

References

Similar to 8078 Related to 28299

msartor92 avatar Aug 10 '23 07:08 msartor92