Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11529

Determine list of module dependencies

$
0
0

Is there a canonical way to determine what modules a given workspace depends on? We’re currently looking at .terraform/modules/modules.json, but found that it does not seem to “clean up” over time when removing/renaming modules, despite running terraform init again.
For context, we use this in linting to verify our terraform cloud workspace trigger directories are correct in a TF-monorepo setup (to avoid unnecessary plan runs), so alternatives to achive that in other ways are also valid :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 11529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>