terrakube
terrakube copied to clipboard
API to retrieve plan output
Feature description 💡
When running plans on Terrakube remote executors, we can't save the plan on local files, as it shows the error below:
Error: Saving a generated plan is currently not supported
Terraform Cloud does not support saving the generated execution plan locally
at this time.
There are issues opened on Terraform and Opentofu to have this working on the client side, though Terraform Cloud has an API that allows us to retrieve the JSON plan just like terraform show -json planfile
.
Is there any API call on Terrakube to do the same? Or is there another way to get the plan body? I could get the command output, though when it has errors it can be messy.
Anything else?
No response