intellij-hcl icon indicating copy to clipboard operation
intellij-hcl copied to clipboard

Run configurations for `plan` and `apply` commands

Open VladRassokhin opened this issue 8 years ago • 4 comments

  • [ ] Run configuration for project (terraform plan|apply .)
  • [ ] Run configuration for one specific resource (terraform plan|apply -target=FQN)
    • [x] Show in gutter next to resource definition
  • [ ] Support next CLI options:
    • [ ] state
    • [ ] refresh
    • [ ] target
    • [ ] state-out (apply only)
    • [ ] out (plan only)
    • [ ] var-file
    • [ ] var
    • [ ] input - ask for input somehow (show dialogs?)

VladRassokhin avatar Sep 30 '16 12:09 VladRassokhin

Supporting additional CLI options seems a minor feature, I don't see real use cases for it yet.

mkuzmin avatar Sep 30 '16 12:09 mkuzmin

Here is a real pain point: screen shot 2017-03-01 at 21 35 22

Having large text files included into parameters by file() function or template_file provider, it becomes extremely difficult to understand what exactly is changed in a plan.

We could display a list of resources the same way as tests: screen shot 2017-03-01 at 21 42 56

And show precise diff for the parameters: screen shot 2017-03-01 at 21 44 28

mkuzmin avatar Mar 01 '17 18:03 mkuzmin

Added simple run configurations, still WIP. Also here's related issue for terraform plan: https://github.com/hashicorp/terraform/issues/3353

VladRassokhin avatar Jul 16 '17 22:07 VladRassokhin

Plan in json is going to be live in Tearraform 0.12 :yay: https://github.com/hashicorp/terraform/issues/3353#issuecomment-454219001

VladRassokhin avatar Jan 15 '19 04:01 VladRassokhin