prettyplan-cli icon indicating copy to clipboard operation
prettyplan-cli copied to clipboard

terraform 0.12 support please

Open nelg opened this issue 6 years ago • 4 comments

could we have support for the new version of terraform please :)

nelg avatar Jun 07 '19 10:06 nelg

Hi @nelg, sorry for not responding earlier (I didn't get notified of this issue for some reason).

I don't have any plans to update this for 0.12 I'm afraid, partially due to time constraints but also because the plan output in 0.12 has been significantly improved to address most of the pain points that prettyplan addresses.

Of course, if people still want support for 0.12 in prettyplan, I would gladly accept pull requests to introduce it :)

chrislewisdev avatar Aug 23 '19 01:08 chrislewisdev

It will be great to have 0.12+ support in prettyplan. Is there another way to parse terraform output plan to UI in HTML for the user? I'm using Python to get output, but the output isn't Pretty at all :)

Tzvetelin88 avatar Nov 07 '19 09:11 Tzvetelin88

@Tzvetelin88 I'm not aware of any other projects that produce HTML output, but there are some other command-line based ones: https://github.com/dmlittle/scenery, https://github.com/coinbase/terraform-landscape and https://github.com/Vampouille/terraform-plan-formatter for example.

It's good to see that people are interested in keeping Prettyplan forwards-compatible. I'll mark this issue as 'help wanted' until either I find good opportunity to update it, or until someone raises a PR for it.

I'm imagining most of the parsing code would need rewriting to work with 0.12+; it mostly relies on regex, which could perhaps be re-purposed to work, but has a tendency to break whenever the plan output changes slightly.

chrislewisdev avatar Nov 09 '19 00:11 chrislewisdev

Yea, I would love this for 0.13 actually. I like the html format output.

hongkongkiwi avatar Oct 18 '20 16:10 hongkongkiwi