Commit Graph

1016 Commits (da74b59ea1d3aa4d7706579c95f63c778f2e515e)

Author SHA1 Message Date
Daniel Schmidt da74b59ea1
don't explicitly specify defaults in argument parsing
5 days ago
Daniel Schmidt 3dbfbe5dc9
refactor state-list command argument parsing
5 days ago
Daniel Schmidt af7783eb62
refactor providers lock command argument parsing
5 days ago
Daniel Schmidt c7729926fa
don't explicitly specify defaults in argument parsing
5 days ago
Daniel Schmidt 0066780049
refactor providers mirror command argument parsing
5 days ago
Daniel Schmidt c15f0409ed
don't explicitly specify defaults in argument parsing
5 days ago
Daniel Schmidt 0c384e8cd8
refactor providers schema command argument parsing
5 days ago
Daniel Schmidt 6f32f249f7
refactor providers command argument parsing
5 days ago
Daniel Schmidt 3a2686938f
use the arguments package for import command
5 days ago
Daniel Schmidt 61923826f8
don't explicitly specify defaults in argument parsing
5 days ago
Daniel Schmidt 5a9c0196d9
let command handle defaults
5 days ago
Daniel Schmidt 6b83486498
use the arguments package for taint commands
5 days ago
Radek Simko 0fe906fa8c make copyrightfix
5 days ago
Sarah French c7da02b4a8
feat: Enable validate command to validate state_store blocks. (#38157)
6 days ago
Sarah French 694f746748
validate: Add checking the backend block to the `validate` command (#38021)
1 week ago
Samsondeen 77237310aa
Colorize diag details (#38145)
2 weeks 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)
2 weeks ago
Radek Simko 27770ee805
PSS: Migration from a backend to a state store (#38048)
2 weeks ago
Radek Simko 87ba30ef88
plan: Improve diagnostics for uninitialized state_store provider (#38075)
3 weeks ago
Sarah French 0ef56b2853
PSS : Test edge cases when the selected workspace doesn't exist during `init` with a `state_store` (#38119)
3 weeks ago
Sarah French 02a4ddce1b
fix: Fail an `apply` command if the plan file was generated for a workspace that isn't the selected workspace (#37955)
3 weeks ago
Daniel Schmidt 75445e1ef8 use a string as deprecation origin to help with indirect references
3 weeks ago
Daniel Schmidt a96df66a9a display origin of deprecated value in diagnostic
3 weeks ago
Daniel Schmidt 3a36e7732b refactor: extract write snippet in diagnostic rendering
3 weeks ago
Daniel Schmidt ea7f1e3043 add extra origin information for deprecation diagnostics
3 weeks ago
Radek Simko 41102accc6
command: Fix copy-paste error in error message (#38116)
3 weeks ago
Radek Simko 1fde2537c2
command/init: Avoid ignoring errors when setting PSS configs (#38115)
3 weeks ago
Sarah French 2465e326a2
refactor: Use existing methods to detect if a provider is built in (#38118)
3 weeks ago
Daniel Schmidt d813ad14f7 add deprecation marks
3 weeks ago
Daniel Schmidt 4b34066cf2 add error to Pre and PostDiff hook
3 weeks ago
Sarah French 8e59c3296a
PSS: Address edge case in `workspace list` when no state files/workspace artefacts exist (#38094)
4 weeks ago
Sarah French ac3e32b62b
test: Add test asserting deprecation warnings are present when legacy `env` subcommands are used (#38091)
4 weeks ago
Samsondeen 0b35407d2c
Allow functions in test mock blocks (#37883)
1 month ago
Sarah French fa620ad0e9
test: Add and update some `init` command tests, linting and code comment changes (#38056)
1 month ago
Sarah French 44e5f86375
PSS: Allow use of pluggable state stores with `-backend=false` during `init` commands (#38066)
1 month ago
Sarah French 827f693e32
test: Update `TestInit_fromModule_dstInSrc` to reflect current behaviour when -from-module references the location of the current directory (#38059)
1 month ago
Radek Simko 1186262c8c
backend/http: Refresh state earlier (align with other backends) (#38033)
1 month ago
Mark Hall 7029dfac86
Fix nil pointer dereference in backend state migration (#38028)
1 month ago
Sarah French 193867f060
test: Add E2E test coverage for inspecting a plan file using the `terraform show` command (#38020)
2 months ago
Sarah French fd7f25120b
PSS: Allow pluggable state store configuration to be read from a plan file (#37957)
2 months ago
Sarah French f88d09544e
PSS: Add tests showing `provider` commands being used with PSS (#37959)
2 months ago
Sarah French 578766bdc0
PSS: Add tests showing `output` and `show` commands being used with PSS (#37894)
2 months ago
Sarah French 940fbfb7ed
test: Add more test coverage of `validate` command's interaction with `backend` blocks (#37977)
2 months ago
Sarah French 33d54b9a7c
test: Update module used for testing `init`'s `-from-module` feature, so that the test can be run on darwin_arm64 platforms. (#38015)
2 months ago
Radek Simko 213d133d86
command/meta: Enable migration from PSS to a backend (#37949)
2 months ago
Sarah French f591872699
PSS: Allow pluggable state store configuration to be stored in a plan file (#37956)
2 months ago
Sarah French a83b7402c2
PSS: Add tests showing `state` subcommands being used with PSS (#37891)
2 months ago
Sarah French 3eea12a1d8
test: Add test coverage for what validate command checks in resource blocks versus backend blocks. (#37972)
3 months ago
Sarah French 0941763d05
test: Add a test that shows a custom workspace being baked-into a planfile (#37917)
3 months ago
Sarah French 9fb91c2229
PSS: Refactor Plan struct to reference `Backend` and `StateStore` via pointers, update calling code (#37946)
3 months ago