opentofu/internal/backend/local
James Bardin 5ffa0839f9 only check serial when applying the first plan
Ensure that we still check for a stale plan even when it was created
with no previous state.

Create separate errors for incorrect lineage vs incorrect serial.

To prevent confusion when applying a first plan multiple times, only
report it as a stale plan rather than different lineage.
2021-10-13 17:17:51 -04:00
..
testdata core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
backend_apply_test.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
backend_apply.go core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
backend_local_test.go plans/planfile: Create takes most arguments via a struct type 2021-10-01 14:43:58 -07:00
backend_local.go only check serial when applying the first plan 2021-10-13 17:17:51 -04:00
backend_plan_test.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
backend_plan.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
backend_refresh_test.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
backend_refresh.go core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
backend_test.go core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
backend.go core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
cli.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
hook_state_test.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
hook_state.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
local_test.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
testing.go temp path clean for some backend tests 2021-09-23 17:16:33 -04:00