Sometimes tfApply unexpectedly reports a stale plan
This causes the build to fail. The underlying issue is that the serial number in the plan is one behind that in the remote state.
The required behaviour is that if one does
- Changes source
- Run
tfApply
- Run
tfApply
again.
Then at (2) both tfPlan
and tfApply
will execute, but at (3) both should be UP TO DATE
.