cuddly-analyst-30573
01/26/2023, 8:43 PM.infracost
directory?white-airport-8778
cuddly-analyst-30573
01/26/2023, 9:50 PM.terraform
folders (TF_DATA_DIR
) with the state (and modules...) for each environment..terraform
, anyway?crooked-daybreak-55253
01/27/2023, 2:43 AMmysterious-teacher-68276
01/27/2023, 6:37 AM.terraform
directories we use those and won’t redownload your modules into the top level cache. You might still see the Downloading Terraform modules
spinner, but we’re not actually downloading the modules again. Are you seeing something different to suggest that we are redownloading? If so, that would be a regression that we’ve introduced, so I’d love to know about it!cuddly-analyst-30573
01/30/2023, 6:57 PM.terraform
while just creating manifest.json
.
Also noticed that sometimes the modules appear twice even in .infracost
but sometimes the name is some sort of hash, or there're manifest-hash.json
files, but I haven't really looked into what the engine is doing (maybe it's due to module version changes?).
Ideally, I'd want Infracost to look at the modules in config/$environment/.terraform/modules
. I could try building Infracost from source with the downloadDir
changed, but I'd probably need to make a few more changes to make it work as expected.mysterious-teacher-68276
01/30/2023, 7:04 PM