/terraform-hierarchy

Take terraform API json + root dir and return toml with module relations

Primary LanguageGoMIT LicenseMIT

Show terraform module and resource dependencies

Usage:

hierarchy -dir=. -desc=aws.json -out=stdout

  • -dir: terraform root directory
  • -desc: json file prepared by terrafor-markdown-extractor
  • -out: where to put results in TOML (stdout by default)