Not showing correct plan details on header
rr-krupesh-savaliya opened this issue · comments
interesting... can you grab the json object and see what it says?
this value comes straight from the json data generated by the plan
I think I found the issue, it's here: https://github.com/ahmadnassri/node-terraform-unidiff/blob/a54705ee0aa6c2751cde40c0b23f08678c082f85/index.js#L38-L43
and according to the terraform docs: https://www.terraform.io/internals/json-format#change-representation
Valid actions values are:
// ["no-op"]
// ["create"]
// ["read"]
// ["update"]
// ["delete", "create"]
// ["create", "delete"]
// ["delete"]
I clearly wasn't taking into account the two scenarios of ["delete", "create"]
and ["create", "delete"]
...
fix will be up shortly, thanks for your help!
fix should be released in v3.1.5
please let me know if it's working for you.