patrickchugh / terravision

Terravision creates Professional Cloud Architecture Diagrams from your Terraform code automatically. Supports AWS, Google and Azure.
Mozilla Public License 2.0
827 stars 79 forks source link

[BUG] No `module` in all_locals #44

Closed ddproxy closed 1 year ago

ddproxy commented 1 year ago

The replace_local_values function makes an assumption that tfdata['all_locals'] has a key of the signature providedmodule`. Need to add a guard.

patrickchugh commented 1 year ago

Merged your fix. Thanks!