Commit Graph

56 Commits (main)

Author SHA1 Message Date
Radek Simko 0fe906fa8c make copyrightfix
1 day ago
Daniel Schmidt 1b662d78e5 init: skip dependencies declared in development override
3 months ago
Radek Simko 5001deb4a2
PSS: Ensure experimental backend codepath is isolated + gated correctly (#37868)
4 months ago
Sarah French 76f2982c68
Update the init command's help text to describe PSS-related flags (#37773)
4 months ago
Sarah French 6b73f710f8
PSS: Implement initialisation of new working directory (or use of `-reconfigure` flag) while using `state_store` (#37732)
4 months ago
Sarah French b9522561c8
PSS: Add reusable method for obtaining the provider factory needed for accessing a state store. (#37665)
5 months ago
Sarah French da76dba3dc
PSS: Add alternative, experimental version of `init` command that downloads providers in two stages (#37350)
6 months ago
Sarah French f494ff5540
Pull `init` command's Run method logic into separate method in new file, enable accessing experimental version of init logic via experiments and flags or ENVs (#37327)
7 months ago
Sarah French 7b28a5d842
PSS: Allow backend or state_store config to be passed via BackendOpts into method for initialising the operations backend for a command (#37346)
7 months ago
Sarah French 145e152a57
Clarify usage of BackendOpts, rename field in struct to enable usage with PSS in future (#37085)
7 months ago
Samsondeen 7f29df96a0
Allow terraform init when only test files are present in directory (#36429)
1 year ago
James Bardin 2cbb6bf92f udpate code which was failing staticckeck
1 year ago
James Bardin fcfbd85aa5 add suggestion to run `terraform providers`
2 years ago
Niklas Rosenstein 50463774b0 Fix and clarify error message when -plugin-dir can't be saved to workspace directory
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 ba8386b8a2 json does not support interactive prompt so dont allow setting of both -migrate-state and -json options
2 years ago
UKEME BASSEY ea8d0869d8 convert all logs to be view type exclusive for human or json format
2 years ago
UKEME BASSEY 370a471ecb fix json -help display and failing tests
2 years ago
UKEME BASSEY a3f3b64e4c add -json to tf init
2 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
Liam Cervante f8b1fe47dd
Make config errors more important during init operations (#33628)
3 years ago
James Bardin ea1144995f update callers of InstallModules
3 years ago
Liam Cervante 6882dd9530
testing framework: introduce test command optional flags (#33504)
3 years ago
Martin Atkins 7bee77bdd3 command: Start of propagating OpenTelemetry context
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
Agustin Guayama db5b81d2c1
fix typo in terraform/internal/command /init.go
3 years ago
kmoe 5900d1177c
cloud: assert import block compatibility (#33282)
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
CJ Horton 30f8b014f8 keep the friendly error message whenever possible
3 years ago
Brandon Croft 9fd76e56cd
Factor out terraform-config-inspect/tfconfig during init
3 years ago
Liam Cervante 83e84e5477
terraform init: add warning and guidance when lock file is incomplete (#31399)
4 years ago
James Bardin 953c448f9a add simple error indicating backend removal
4 years ago
Markus Bösling 275ff5b223
double word removed (#30679)
4 years ago
Chris Arcand a0c7c1dc8d command/init: Adjust init help output
4 years ago
Chris Arcand 33d7c1e6d6 command/init: Add -cloud alias (of -backend)
4 years ago
Martin Atkins bac59d2480 command/init: Be explicit that some options are not relevant for Cloud
4 years ago
Katy Moe 6da61bf07b
revert change to installModules diag handling
4 years ago
kmoe 40ec62c139
command: make module installation interruptible
4 years ago
Barrett Clark e49f271eb5 Update copy for terraform init with cloud block
4 years ago
Barrett Clark 0cd9490838 PR Feedback: cleanup variable setter
4 years ago
Chris Arcand f8256f6634 Update ux for "terraform init [-reconfigure]"
4 years ago
Chris Arcand fccc873a3d Remove ability to declare a 'cloud' backend
4 years ago
Chris Arcand a4c24e3147 Add cloud {} configuration block for Terraform Cloud
4 years ago
Alisdair McDiarmid 39de3ebec7 cli: Fix init failure with deleted cache
4 years ago
Alisdair McDiarmid c587384dff cli: Restore -lock and -lock-timeout init flags
4 years ago
James Bardin c2e0d265cf LoadModule now always returns the module
4 years ago
James Bardin a53faf43f6 return partial config from LoadConfig with errors
4 years ago