Skip to content

Obtaining tfplan output #554

Answered by hulquest
hulquest asked this question in Q&A
Discussion options

You must be logged in to vote

Sometimes you have to ask a question to have a breakthrough. I figured out what was happening after looking at a test for tfplan it occurred to me the output still looks like compressed data...because it is. The solution is to decompress the data again like:
k get secrets tfplan-default-curly-voice-mcjc6s -o json |jq -r .data.tfplan |base64 -d |gzip -d |gzip -d

I'll close this discussion and open an issue.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hulquest
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants