opentofu/internal/backend/remote
Chris Arcand 1791b71196 cloud: TestCloud_backendWithTags
Implementing this test was quite a rabbithole, as in order to satisfy
backendTestBackendStates() the workspaces returned from
backend.Workspaces() must match exactly, and the shortcut taken to test
pagination in 3cc58813f0 created an
impossible circumstance that got plastered over with the fact that
prefix filtering is done clientside, not by the API as it should be.

Tagging does not rely on clientside filtering, and expects that the
request made to the TFC API returns exactly those workspaces with the
given tags.

These changes include a better way to test pagination, wherein we
actually create over a page worth of valid workspaces in the mock client
and implement a simplified pagination behavior to match how the TFC API
actually works.
2021-10-28 19:29:10 -05:00
..
testdata Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
backend_apply_test.go cloud: TestCloud_backendWithTags 2021-10-28 19:29:10 -05:00
backend_apply.go backend: Remove Operation.Parallelism field 2021-09-14 10:35:08 -07:00
backend_common.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
backend_context_test.go core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
backend_context.go core: Functional-style API for terraform.Context 2021-08-30 13:59:14 -07:00
backend_plan_test.go Update go-tfe to 26689e 2021-10-28 19:29:10 -05:00
backend_plan.go backend: Remove Operation.Parallelism field 2021-09-14 10:35:08 -07:00
backend_state_test.go Update go-tfe to 26689e 2021-10-28 19:29:10 -05:00
backend_state.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
backend_test.go backend/remote: Support interop from 0.14 to 1.1 2021-09-24 09:26:09 -04:00
backend.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
cli.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
colorize.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
remote_test.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
testing.go Update go-tfe to 26689e 2021-10-28 19:29:10 -05:00