-
|
Hi, I am trying to find a way to retrieve the Terraform output from a workspace using the Terrakube API.
Alternatively, is there a way to access the terraform tfstate via the API (or another method), so we can extract the outputs from there? Any help or guidance is appreciated - thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Anakz
Jun 20, 2025
Replies: 1 comment 1 reply
-
|
Check this |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@alfespa17 Thanks a lot for the quick response!
Initially I was actually looking to get all workspace outputs, not just the output from a specific job.
I found that the
/historyAPI provides access to the Terraform state files.So, what i did was:
It is a bit of a workaround, but it solve my use case at the moment.
I wanted to share this in case it helps others