I am listing the actions of the json
output of a terraform plan -out outfile
.
Sometimes there are no changes indeed, i.e. the return code of the terraform plan
command is 0
.
There are cases however when I get an exit code 2
(indicating there are changes to be made) with all resources listed having the no-op
value in their action
field.
The documentation does not provide a clear distinction between the first and the second scenario.
Is it possible for someone to elaborate on the differences between a pure "no changes - infrastructure matches the configuration/ exit code 0
and getting exit code 2
with no-op
action on resources?