terraform_cashier icon indicating copy to clipboard operation
terraform_cashier copied to clipboard

Not supported plan in JSON format

Open kino505 opened this issue 4 years ago • 4 comments

I didn't find a possibility of processing plan files in JSON format. What a pity. Is it hard to realize?

kino505 avatar Dec 04 '20 03:12 kino505

Correct. Currently, only bson plans are supported. I didn't know it was possible to use terraform plan to generate a JSON format plan file. I can't find the option anywhere on this page.

Bjorn248 avatar Dec 08 '20 12:12 Bjorn248

Oh, it is not direct path:) terraform plan -out=plan.save terraform show -json plan.save

kino505 avatar Dec 09 '20 09:12 kino505

Ah, no, that is currently not supported. Only the output of terraform plan is supported.

Bjorn248 avatar Dec 09 '20 13:12 Bjorn248

Ok. I understood. Thank You for your answer. It will be useful when using several dedicated modules in a sequence (one by one).

kino505 avatar Dec 09 '20 13:12 kino505