Commit Graph

33 Commits (6fdb348b615af5979819f8b6168260f335cfb2e0)

Author SHA1 Message Date
Sarah French 7199fbd2bb
Update use of `testChdir` to standard library's `t.Chdir`, remove `testChdir` function from codebase (#37334)
10 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)
10 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
Martin Atkins f40800b3a4 Move states/ to internal/states/
5 years ago
Martin Atkins 31349a9c3a Move configs/ to internal/configs/
5 years ago
Martin Atkins ffe056bacb Move command/ to internal/command/
5 years ago