Commit Graph

53 Commits (8fd8a48a06af33d3a3614b4b48768bd1516632fe)

Author SHA1 Message Date
Radek Simko cd9257cd53
PSS: Enable state store configuration change (#38153)
2 months ago
Sarah French c37cf1c0f5
test: Enable assertions about prompt text shown to users (#38212)
2 months ago
Sarah French 9f5f21f1d8
test: Enable mocking http provider sources in tests (#38206)
2 months ago
Sarah French 3db7c751a8
PSS: Fix use of reattached providers in init, enable use of reattached providers during plan-apply workflow (#38182)
2 months ago
Samsondeen 77237310aa
Colorize diag details (#38145)
2 months ago
Sarah French b8c2cabee8
init: Fix when error diagnostics are acted on in PSS's experimental version of `init`. Avoid trying to initialise a state store with insufficient config. (#38125)
3 months ago
Radek Simko 27770ee805
PSS: Migration from a backend to a state store (#38048)
3 months ago
Radek Simko 87ba30ef88
plan: Improve diagnostics for uninitialized state_store provider (#38075)
3 months ago
Sarah French 0ef56b2853
PSS : Test edge cases when the selected workspace doesn't exist during `init` with a `state_store` (#38119)
3 months ago
Sarah French fa620ad0e9
test: Add and update some `init` command tests, linting and code comment changes (#38056)
3 months ago
Sarah French 44e5f86375
PSS: Allow use of pluggable state stores with `-backend=false` during `init` commands (#38066)
3 months ago
Sarah French 827f693e32
test: Update `TestInit_fromModule_dstInSrc` to reflect current behaviour when -from-module references the location of the current directory (#38059)
3 months ago
Radek Simko 1186262c8c
backend/http: Refresh state earlier (align with other backends) (#38033)
3 months ago
Radek Simko 213d133d86
command/meta: Enable migration from PSS to a backend (#37949)
4 months ago
Sarah French a83b7402c2
PSS: Add tests showing `state` subcommands being used with PSS (#37891)
5 months ago
Radek Simko d884031b4b
PSS: Implement unsetting of a state store (#37875)
5 months ago
Sarah French efb2a1c567
PSS: Let the `init` command recognise when there are no changes in configuration. (#37777)
6 months ago
Sarah French 6b73f710f8
PSS: Implement initialisation of new working directory (or use of `-reconfigure` flag) while using `state_store` (#37732)
6 months ago
Sarah French 5be24bf1d0
Fix experimental gating of PSS feature (#37526)
8 months ago
Sarah French da76dba3dc
PSS: Add alternative, experimental version of `init` command that downloads providers in two stages (#37350)
8 months ago
Sarah French 7199fbd2bb
Update use of `testChdir` to standard library's `t.Chdir`, remove `testChdir` function from codebase (#37334)
9 months ago
Sarah French 15840b3eae
Replace use of `defer` with `t.Cleanup` in majority of `command` package tests, update `testChdir` to work with t.Cleanup (#37326)
9 months ago
Sarah French b3d7dae793
Add config parsing and validation for PSS (#37178)
11 months ago
Samsondeen 7f29df96a0
Allow terraform init when only test files are present in directory (#36429)
1 year ago
Liam Cervante 4f62fcac53
init: fix invalid + duplicate required provider blocks crashing (#35533)
2 years ago
James Bardin fcfbd85aa5 add suggestion to run `terraform providers`
2 years ago
Liam Cervante 48fc2d3ac7
terraform test: Disallow version constraints within test files (#35161)
2 years ago
Sebastian Rivera 015f795ff0 Rebrand Terraform Cloud to HCP Terraform
2 years ago
UKEME BASSEY c7bbc09631 move all command args from command/init to args/init
2 years ago
UKEME BASSEY 0ea25e3b40 fixing tests internal/command/init, view and argumento
2 years ago
UKEME BASSEY 26f01d699a add test for -json support
2 years ago
Jamie Finnigan 05b0bdac99
adopt hashicorp/cli fork of mitchellh/cli (#34429)
2 years ago
Liam Cervante f8b1fe47dd
Make config errors more important during init operations (#33628)
3 years ago
Liam Cervante 4b34902fab
[testing framework] allow tests to define and override providers (#33466)
3 years ago
Liam Cervante 5acc95dda7
[Testing Framework] Add module block to test run blocks (#33456)
3 years ago
CJ Horton 727e22e762 add tests for init syntax error handling
3 years ago
Liam Cervante 83e84e5477
terraform init: add warning and guidance when lock file is incomplete (#31399)
4 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
Martin Atkins 23395a1022 providercache: Discard lock entries for unused providers
4 years ago
Barrett Clark 419676cb69 Cloud integration requires input for migrations
4 years ago
Martin Atkins bac59d2480 command/init: Be explicit that some options are not relevant for Cloud
5 years ago
kmoe 64635edfb9
Merge pull request #29885 from hashicorp/kmoe/more-init-interrupts
5 years ago
kmoe 40ec62c139
command: make module installation interruptible
5 years ago
Łukasz Sierant 19cce931a8 Test case for changing backend hash during aborted state migration
5 years ago
Alisdair McDiarmid cdd5ee6fb3
Merge pull request #29773 from hashicorp/alisdair/init-lock-flags
5 years ago
Alisdair McDiarmid c587384dff cli: Restore -lock and -lock-timeout init flags
5 years ago
Alisdair McDiarmid fb58f9e6d2 cli: Fix flaky init cancel test
5 years ago
James Bardin c2e0d265cf LoadModule now always returns the module
5 years ago
James Bardin 625e768678 make sure required_version is checked before diags
5 years ago
Chris Arcand 8684a85e26 command: Ensure all answers were used in command.testInputResponseMap
5 years ago