Closed quotidian-ennui closed 9 months ago
At this moment if you need to have a support of Terraform as well as OpenTofu (and Terragrunt :) ) in one tool you can use https://github.com/tofuutils/tenv which my team wrote some months ago. A lot of users switched to that tool to unify version management in the world of Terraform.
You're welcome to open any issues or contribute to tenv.
At the moment trying to use tf-summarize with a binary plan that was generated by opentofu does not work.
It will raise the error (version refs will depend on your terraform version, latest opentofu version is 1.6.1)
Workaround
Under the covers, tf-summarize just calls
terraform show -json
when presented with a binary plan; so just turn it into json via tofu.