-
Couldn't load subscription status.
- Fork 10.1k
PSS: Implement initialisation of new working directory (or use of -reconfigure flag) while using state_store
#37732
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
a828718
Minor fixes in diagnostics
SarahFrench 7cc8316
Rename test to make it specific to use of backend block in config
SarahFrench 2e7b18d
Update initBackend to accept whole initArgs collection
SarahFrench 9adf497
Only process --backend-config data, when setting up a `backend`, if t…
SarahFrench c13e2f1
Simplify how mock provider factories are made in tests
SarahFrench 4f59cb1
Update mock provider's default logic to track and manage existing wor…
SarahFrench c287a97
Add `ProviderSchema` method to `Pluggable` structs. This allows calli…
SarahFrench 99d6229
Add function for converting a providerreqs.Version to a hashicorp/go-…
SarahFrench 5d42a91
Implement initial version of init new working directories using `stat…
SarahFrench 27a73a5
Update test fixtures to match the hashicorp/test mock provider used i…
SarahFrench 58cae04
Allow tests to obtain locks that include `testingOverrides` providers.
SarahFrench e27abd4
Add tests showing TF can initialize a working directory for the first…
SarahFrench 43ac7c4
Add -create-default-workspace flag, to be used to disable creating th…
SarahFrench d6c3b4e
Allow reattached providers to be used during init for PSS
SarahFrench 9e649b9
Rename variable to `backendHash` so relation to `backend` is clearer
SarahFrench 3e5fb58
Allow `(m *Meta) Backend` to return warning diagnostics
SarahFrench d3d6ff8
Protect against nil testingOverrides in providerFactoriesFromLocks
SarahFrench 7f07422
Add test case seeing what happens if default workspace selected, does…
SarahFrench 2205034
Address code consistency check failure on PR
SarahFrench 14f7468
Refactor use of mock in test that's experiencing EOF error...
SarahFrench 00e6890
Remove test that requires test to supply input for user prompt
SarahFrench 94b3586
Allow -create-default-workspace to be used regardless of whether inpu…
SarahFrench 6d235aa
Add TF_SKIP_CREATE_DEFAULT_WORKSPACE environment variable
SarahFrench 93bfc82
Responses to feedback, including making testStdinPipe helper log deta…
SarahFrench ce8c27c
Use Errorf instead
SarahFrench 4a28cf9
Allow backend state files to not include version data when a builtin …
SarahFrench e79ea11
Add clarifying comment about re-attached providers when finding the m…
SarahFrench 8d4279e
Report that the default workspace was created to the view
SarahFrench c32a903
Refactor: use error comparison via `errors.Is` to identify when no wo…
SarahFrench d89b964
Move handling of TF_ENABLE_PLUGGABLE_STATE_STORAGE into init's ParseI…
SarahFrench 3d38b07
Validate that PSS-related flags can only be used when experiments are…
SarahFrench 8ee5c73
Slight rewording of output message about default workspace
SarahFrench 9c7012b
Update test to assert new output about default workspace
SarahFrench File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.