Commit Graph

1156 Commits (f2b45bbd40855deded9869145a2edd1bc7955d08)

Author SHA1 Message Date
Radek Simko c34ce2988a
command/output: Ignore warnings in JSON mode
2 months ago
Sarah French 6554bda227
refactor: Update `workspace select` and `new` subcommands to use the arguments package for parsing arguments and flags (#38430)
2 months ago
Sarah French dd35f66105
fix: warnings against using `terraform env list` are shown in JSON format when the -json flag is present (#38469)
2 months ago
Sarah French 559233329e
Fix: Re-enable using prerelease providers in the new two-step provider download in `init` (#38502)
2 months ago
Austin Valle 6428b2bdbc add provider source back to success tests
2 months ago
James Bardin e480b016f8 remove the extra logic to detect prov funcs
2 months ago
James Bardin c6b61bf731 simplify error messages for dynamic source
2 months ago
Austin Valle 19972a4606 adjust tests
2 months ago
Austin Valle 1c88535ac0 add test for validation reference to non-const variable
2 months ago
Austin Valle d2c9214081 prune validate nodes
2 months ago
Austin Valle b8bdde09ca Merge branch 'main' into provider-defined-function-during-init
2 months ago
Sarah French b7a43b31b0 Comments and changes from pairing
2 months ago
Radek Simko e6850a514f
fix: Avoid warnings in `terraform output -raw` (#38487)
2 months ago
Austin Valle b0539318f1 remove duplicate test
2 months ago
Austin Valle 6c783ce1be add some tests + TODOs
2 months ago
Sarah French bb7491c368
Limit backend block validation in the `validate` command to just backend type (#38468)
2 months ago
Sarah French e24abdf6ff
refactor: Update `workspace select` and `delete` subcommands to use the arguments package for parsing arguments and flags (#38429)
2 months ago
Sarah French 1edd518394
test: Add test helper for mocking out use of a network mirror as a provider source (#38447)
2 months ago
UKEME BASSEY 027f94439b Merge remote-tracking branch 'origin/main' into show-info-when-resources-are-left-due-to-skip-cleanup
2 months ago
UKEME BASSEY 8219912d1b add changelog & updates
2 months ago
Radek Simko 69aa544660
command: Implement skeleton for `state migrate` (#38435)
2 months ago
UKEME BASSEY a3ce749dd5 add tests
2 months ago
UKEME BASSEY c857888605 show info when resources are not destroyed due to skip_cleanup
2 months ago
Sarah French 650fd346aa
refactor: Separate concerns in mock provider sources logic, handle callbacks using `t.Cleanup` (#38446)
2 months ago
Sarah French 844f216569
Add missing test for views.WorkspaceList (#38434)
2 months ago
Sarah French 80a9d6b945
PSS: Prevent the state store provider being upgraded via the `init` command, unless the store is reconfigured (#38391)
2 months ago
Sarah French 2c125d7952
Make `validation -json` command produce JSON output when argument parsing raises an error
2 months ago
Sarah French 7e3f57b40b
test: Update test helper `newMockProviderSourceUsingTestHttpServer` to be able to serve multiple providers and multiple provider versions (#38415)
2 months ago
Daniel Banck 7c828ce3c0 Add test case for validate JSON diags
2 months ago
Daniel Banck 50ac6cf0e3 Fix `validate` not returning JSON for early diagnostics
2 months ago
Sarah French 694ed4a33d
Add machine-readable JSON output to the `workspace list` command (#38397)
2 months ago
Daniel Banck 7554bda28e Fix `fmt` for `.tfquery.hcl` files
2 months ago
Sarah French b4c5234c98
chore: Remove unused `DefaultWorkspaceCreatedMessage` and `defaultWorkspaceCreatedInfo` (#38394)
2 months 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)
2 months ago
Sarah French a28750d8d1
PSS: Remove handling of state migrations including PSS from the `init` command (#38388)
2 months ago
Sarah French c05eaaf20d
PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269)
2 months ago
Kristin Laemmert 002476034a
feat(cli): add -json flag for state show (#38341)
2 months ago
Sarah French ae14dc3ea8
refactor: Stop workspace new, show, and select commands using `ModulePath` method to determine the working directory (#38358)
3 months ago
Daniel Banck f29046037f Add regression test for apply with vars
3 months ago
Daniel Banck 6853d72303 command: test `state pull` with const variables
3 months ago
Daniel Banck b08bd10508 Fix existing `state pull` tests
3 months ago
Daniel Banck 4a7a724cd0 command: test `validate` with const variables
3 months ago
Daniel Banck 254ddfa276 command: test `graph` with const variables
3 months ago
Daniel Banck e81ffa2a02 command: test `providers` with const variables
3 months ago
Daniel Banck 57f4867fe1 command: test `providers lock` with const variables
3 months ago
Daniel Banck 0e7b974ce6 Fix `providers lock` crash on empty config
3 months ago
Daniel Banck 9bb8db34c0 Use t.Setenv in meta-related tests
3 months ago
Daniel Banck 00d82a0e88 command: test `providers mirror` with const variables
3 months ago
Daniel Banck ea3778cf6f Fix `providers mirrors` crash on empty config
3 months ago
Daniel Banck cb72a8e1d2 command: test `providers schema` with const variables
3 months ago