intellij-hcl
intellij-hcl copied to clipboard
Run configurations for `plan` and `apply` commands
- [ ] 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?)
- [ ]
Supporting additional CLI options seems a minor feature, I don't see real use cases for it yet.
Here is a real pain point:
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:
And show precise diff for the parameters:
Added simple run configurations, still WIP.
Also here's related issue for terraform plan
: https://github.com/hashicorp/terraform/issues/3353
Plan in json is going to be live in Tearraform 0.12 :yay: https://github.com/hashicorp/terraform/issues/3353#issuecomment-454219001