[GH-ISSUE #158] feature request: Support existing plan as input #90

Closed
opened 2026-05-06 12:37:19 +02:00 by BreizhHardware · 9 comments

Originally created by @xakraz on GitHub (Jan 5, 2026).
Original GitHub issue: https://github.com/patrickchugh/terravision/issues/158

Hi @patrickchugh !

Thanks for Terravision, it looks amazing 🙏🏻

Would it be possible to consume existing plans generated by terraform plan or terraform show -no-color -json output.tfplan > output.json instead of "running" Terraform from within Terravision? We have automation in places that already do these steps and it would be easier for us to integrate that way 😇

Originally created by @xakraz on GitHub (Jan 5, 2026). Original GitHub issue: https://github.com/patrickchugh/terravision/issues/158 Hi @patrickchugh ! Thanks for Terravision, it looks amazing 🙏🏻 Would it be possible to **consume existing plans** generated by `terraform plan` or `terraform show -no-color -json output.tfplan > output.json` instead of "running" Terraform from within Terravision? We have automation in places that already do these steps and it would be easier for us to integrate that way 😇
Author
Owner

@patrickchugh commented on GitHub (Jan 6, 2026):

Shouldn't be too hard to do, but Terravision also needs the output from the terraform graph command. Can your automations generate that beforehand too ?

<!-- gh-comment-id:3712813665 --> @patrickchugh commented on GitHub (Jan 6, 2026): Shouldn't be too hard to do, but Terravision also needs the output from the terraform graph command. Can your automations generate that beforehand too ?
Author
Owner

@patrickchugh commented on GitHub (Jan 16, 2026):

You would need to pass source files for analysing dependencies as well so in the end it's not going to save much time

<!-- gh-comment-id:3762174418 --> @patrickchugh commented on GitHub (Jan 16, 2026): You would need to pass source files for analysing dependencies as well so in the end it's not going to save much time
Author
Owner

@ClementV78 commented on GitHub (Jan 22, 2026):

I vote for, it will be easier to include terravision in a pipeline

<!-- gh-comment-id:3784062616 --> @ClementV78 commented on GitHub (Jan 22, 2026): I vote for, it will be easier to include terravision in a pipeline
Author
Owner

@patrickchugh commented on GitHub (Jan 22, 2026):

@ClementV78 how do you envision making the source code be available in a pipeline ?

<!-- gh-comment-id:3784839067 --> @patrickchugh commented on GitHub (Jan 22, 2026): @ClementV78 how do you envision making the source code be available in a pipeline ?
Author
Owner

@xakraz commented on GitHub (Feb 1, 2026):

We are using Atlantis for our Terraform automation.
The service has everything in place, access to Terraform configuration, credentials for the providers, custom workflows to define and order commands.

<!-- gh-comment-id:3830549666 --> @xakraz commented on GitHub (Feb 1, 2026): We are using Atlantis for our Terraform automation. The service has everything in place, access to Terraform configuration, credentials for the providers, custom workflows to define and order commands.
Author
Owner

@patrickchugh commented on GitHub (Feb 8, 2026):

@xakraz @ClementV78 Happy to announce due to your feedback I have added support for pre-generated TF plan files. Note you also need to supply a pregenerated terraform graph as well. We also need the source parameter as before pointing to the HCL code to infer relationships properly. Let me know if it works for you so I can close this issue.

<!-- gh-comment-id:3868168973 --> @patrickchugh commented on GitHub (Feb 8, 2026): @xakraz @ClementV78 Happy to announce due to your feedback I have added support for pre-generated TF plan files. Note you also need to supply a pregenerated terraform graph as well. We also need the source parameter as before pointing to the HCL code to infer relationships properly. Let me know if it works for you so I can close this issue.
Author
Owner

@xakraz commented on GitHub (Feb 8, 2026):

Thanks @patrickchugh 🙏
I will check this out during the week

<!-- gh-comment-id:3868260744 --> @xakraz commented on GitHub (Feb 8, 2026): Thanks @patrickchugh 🙏 I will check this out during the week
Author
Owner

@patrickchugh commented on GitHub (Feb 28, 2026):

@xakraz can I close this?

<!-- gh-comment-id:3978350449 --> @patrickchugh commented on GitHub (Feb 28, 2026): @xakraz can I close this?
Author
Owner

@xakraz commented on GitHub (Mar 1, 2026):

Yes !
Thank you so much and sorry for not replying earlier 🙏

<!-- gh-comment-id:3979726867 --> @xakraz commented on GitHub (Mar 1, 2026): Yes ! Thank you so much and sorry for not replying earlier 🙏
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/terravision#90
No description provided.