terraform/internal/backend
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
..
init Initial commit of 'cloud' package 2021-10-28 19:29:09 -05:00
local Merge pull request #29755 from hashicorp/jbardin/first-plan-lineage 2021-10-14 13:31:30 -04:00
remote cloud: TestCloud_backendWithTags 2021-10-28 19:29:10 -05:00
remote-state backend/oss: Fixes the nil pointer panic error when missing access key or secret key 2021-10-20 16:05:00 +08:00
backend.go backend/local: Check dependency lock consistency before any operations 2021-10-01 14:43:58 -07:00
backend_test.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
cli.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
operation_type.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
operationtype_string.go Move backend/ to internal/backend/ 2021-05-17 14:09:07 -07:00
testing.go command/workspace_delete: Allow deleting a workspace with empty husks 2021-10-13 13:54:11 -07:00
unparsed_value.go Move terraform/ to internal/terraform/ 2021-05-17 14:09:07 -07:00
unparsed_value_test.go configs: add ConstraintType to config.Variable 2021-09-13 08:51:32 -04:00