If a terraform plan fails for some reason, any attempt to rerun after fixing the issue will fail with the following reason:
Error: Saved plan is stale
The given plan file can no longer be applied because the state was changed by
another operation after the plan was created.
We need to somehow ensure the state remains consistent or rerun tf plan in the deployment step.
If a terraform plan fails for some reason, any attempt to rerun after fixing the issue will fail with the following reason:
We need to somehow ensure the state remains consistent or rerun tf plan in the deployment step.