patrickchugh / terravision

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

Unhandled error: <class 'IndexError'>, list index out of range, <traceback object at 0x7f61b0042b40> #81

Closed aomarabdelaziz closed 7 months ago

aomarabdelaziz commented 7 months ago

while using this command terravision draw --source https://github.com/aomarabdelaziz/devops-ejs-express-api-hub//Terraform --show I got this error

Plan: 52 to add, 0 to change, 0 to destroy.

──────────────────────────────────────────────────────────────────────────────────────────────────────────

Saved the plan to: tfplan.bin

To perform exactly these actions, run the following command to apply: terraform apply "tfplan.bin"

Analysing plan..

Unhandled error: <class 'IndexError'>, list index out of range, <traceback object at 0x7f61b0042b40>

patrickchugh commented 7 months ago

@aomarabdelaziz can you try to do a git pull with the latest code and see if this is fixed? I managed to run it with your source link on my machine now

aomarabdelaziz commented 7 months ago

@aomarabdelaziz can you try to do a git pull with the latest code and see if this is fixed? I managed to run it with your source link on my machine now

it works now fine , thanks