I have a situation where a plan is fine EXCEPT for one or two resources that I do not want to change immediately.
There is no automated way I can generate the -target
options, I have to write each one manually on the command line, needless to say this is tedious and error prone. I could write a bash or python script to generate the set of -target
based on a filter I provide, but I’m thinking someone has already done that, does anyone know?
It does not seem possible to edit the plan file otherwise that would be a good option too (eventhough I can convert the plan to json with show -json
, the apply
command only takes the binary file as input).
Is there any other way to do this?