Commit Graph

1168 Commits (90fcc2cf69e18cb627d23b706cf27c2c24186d1a)

Author SHA1 Message Date
Sarah French 90fcc2cf69 fix: Prevent provider binary being placed outside of .terraform/providers cache unexpectedly due to use of symlinks.
6 days ago
Sarah French 008c92d91f
fix: Append lost warnings in MaybeGetSchemas (#38605)
7 days ago
Sarah French d174972029
test: Show warning when a `-filter` flag has an invalid value (#38603)
1 week ago
Sebastien Tardif 3c94ef65b3
Fix resource leaks in provisioners and commands (#38585)
2 weeks ago
Sarah French 820f37b35f
test: Proof of path traversals not being accepted workspaces (#38589)
2 weeks ago
Sarah French c56ec2943d
refactor: Move validation of `init`'s `-upgrade` and `-lockfile=readonly` flags to the arguments package. (#38561)
2 weeks ago
Sarah French 2e5a89ab6f
Update command help text for `state migrate` command (#38571)
2 weeks ago
Sarah French adcf9a9cb3
PSS: Make sure to close supplementary instances of a store that are intended to be used temporarily. (#38573)
2 weeks ago
Daniel Banck 7ac3e2ec19 Return SafeInitActionNotRelevant on empty config
2 weeks ago
Daniel Banck 94a640a1a5 Add test case for variable value without config
2 weeks ago
Daniel Banck 74084a7705 Return early during provider installation if there is no config
2 weeks ago
Sarah French 7a960db553
PSS: Add interactive confirmation of state storage provider trust when initialising a state store for the first time (#38395)
2 weeks ago
Radek Simko badc70c93d
command/output: Ignore warnings in JSON mode (#38530)
3 weeks ago
Sarah French 6554bda227
refactor: Update `workspace select` and `new` subcommands to use the arguments package for parsing arguments and flags (#38430)
3 weeks ago
Sarah French dd35f66105
fix: warnings against using `terraform env list` are shown in JSON format when the -json flag is present (#38469)
3 weeks ago
Sarah French 559233329e
Fix: Re-enable using prerelease providers in the new two-step provider download in `init` (#38502)
3 weeks ago
Austin Valle 6428b2bdbc add provider source back to success tests
4 weeks ago
James Bardin e480b016f8 remove the extra logic to detect prov funcs
4 weeks ago
James Bardin c6b61bf731 simplify error messages for dynamic source
4 weeks ago
Austin Valle 19972a4606 adjust tests
4 weeks ago
Austin Valle 1c88535ac0 add test for validation reference to non-const variable
4 weeks ago
Austin Valle d2c9214081 prune validate nodes
4 weeks ago
Austin Valle b8bdde09ca Merge branch 'main' into provider-defined-function-during-init
4 weeks ago
Sarah French b7a43b31b0 Comments and changes from pairing
4 weeks ago
Radek Simko e6850a514f
fix: Avoid warnings in `terraform output -raw` (#38487)
4 weeks ago
Austin Valle b0539318f1 remove duplicate test
4 weeks ago
Austin Valle 6c783ce1be add some tests + TODOs
4 weeks ago
Sarah French bb7491c368
Limit backend block validation in the `validate` command to just backend type (#38468)
4 weeks ago
Sarah French e24abdf6ff
refactor: Update `workspace select` and `delete` subcommands to use the arguments package for parsing arguments and flags (#38429)
4 weeks ago
Sarah French 1edd518394
test: Add test helper for mocking out use of a network mirror as a provider source (#38447)
4 weeks ago
UKEME BASSEY 027f94439b Merge remote-tracking branch 'origin/main' into show-info-when-resources-are-left-due-to-skip-cleanup
4 weeks ago
UKEME BASSEY 8219912d1b add changelog & updates
4 weeks ago
Radek Simko 69aa544660
command: Implement skeleton for `state migrate` (#38435)
4 weeks ago
UKEME BASSEY a3ce749dd5 add tests
4 weeks ago
UKEME BASSEY c857888605 show info when resources are not destroyed due to skip_cleanup
4 weeks ago
Sarah French 650fd346aa
refactor: Separate concerns in mock provider sources logic, handle callbacks using `t.Cleanup` (#38446)
4 weeks ago
Sarah French 844f216569
Add missing test for views.WorkspaceList (#38434)
1 month ago
Sarah French 80a9d6b945
PSS: Prevent the state store provider being upgraded via the `init` command, unless the store is reconfigured (#38391)
1 month ago
Sarah French 2c125d7952
Make `validation -json` command produce JSON output when argument parsing raises an error
1 month ago
Sarah French 7e3f57b40b
test: Update test helper `newMockProviderSourceUsingTestHttpServer` to be able to serve multiple providers and multiple provider versions (#38415)
1 month ago
Daniel Banck 7c828ce3c0 Add test case for validate JSON diags
1 month ago
Daniel Banck 50ac6cf0e3 Fix `validate` not returning JSON for early diagnostics
1 month ago
Sarah French 694ed4a33d
Add machine-readable JSON output to the `workspace list` command (#38397)
1 month ago
Daniel Banck 7554bda28e Fix `fmt` for `.tfquery.hcl` files
1 month ago
Sarah French b4c5234c98
chore: Remove unused `DefaultWorkspaceCreatedMessage` and `defaultWorkspaceCreatedInfo` (#38394)
1 month ago
Sarah French c975e0cd78
Refactor `workspace list` human output to use a views-like architecture, so adding JSON output is possible without breaking changes (#38392)
1 month ago
Sarah French a28750d8d1
PSS: Remove handling of state migrations including PSS from the `init` command (#38388)
1 month ago
Sarah French c05eaaf20d
PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269)
1 month ago
Kristin Laemmert 002476034a
feat(cli): add -json flag for state show (#38341)
1 month ago
Sarah French ae14dc3ea8
refactor: Stop workspace new, show, and select commands using `ModulePath` method to determine the working directory (#38358)
2 months ago