Commit Graph

48 Commits (main)

Author SHA1 Message Date
Radek Simko 0fe906fa8c make copyrightfix
3 days 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)
2 weeks ago
Sarah French 9fb91c2229
PSS: Refactor Plan struct to reference `Backend` and `StateStore` via pointers, update calling code (#37946)
3 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 7199fbd2bb
Update use of `testChdir` to standard library's `t.Chdir`, remove `testChdir` function from codebase (#37334)
7 months ago
Sarah French e79b5a1628
Replace custom `testCwd` function with standard `testing` library (#37335)
7 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)
7 months ago
Sarah French 2559f0a3db
Update backend state file so it can describe PSS state (#37179)
8 months ago
Samsondeen 595cd80666
CLI command for listing state identities (#36705)
11 months ago
Daniel Schmidt 756a1a74ad
ephemeral: add apply tests
1 year ago
James Bardin 16231373a4 update changes in command pkgs
2 years ago
Sebastian Rivera 015f795ff0 Rebrand Terraform Cloud to HCP Terraform
2 years ago
Martin Atkins 06f51dbe04 command/workdir: Model the "backend state" file format
2 years ago
Liam Cervante f0b61090a2
Move the testing MockProvider into a dedicated shared package (#34681)
2 years ago
Martin Atkins 884e1fb2a4 terraform: Plans can be "complete" and "applyable"
2 years ago
Martin Atkins b0b8d4aa6f states: Only track root module output values
2 years ago
Liam Cervante ffbcaf8bef
Implement TFC integration for private module registry test runs (#33710)
2 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
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
Liam Cervante d5fed58fc5
plannable import: write generated config to out flag (#33186)
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Alisdair McDiarmid 8df065a2fe initwd: Switch from earlyconfig to configs
3 years ago
Megan Bang 72ba8a869e removes EnableForcePush and other unrelated code
4 years ago
Megan Bang b504dd1489 update from code consistency checks
4 years ago
Megan Bang 00cc1ea26d refactor getSchemas
4 years ago
Megan Bang 12e3560d21 check for cloud integration mode
4 years ago
Megan Bang b8f2f81cd6 update to warn if schemas aren't available
4 years ago
Martin Atkins 783a07d9e8 build: Use Go 1.19
4 years ago
Jeff Bonhag f30738d965
Add golden reference test for JSON plan (#31362)
4 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
gabriel376 f5a8608989
cli: Make state commands check required version (#30511)
4 years ago
nozaq 0ce040405c
jsonconfig: fix provider mappings with same names
4 years ago
kmoe 40ec62c139
command: make module installation interruptible
4 years ago
Martin Atkins 5b266dd5ca command: Remove the experimental "terraform add" command
4 years ago
James Bardin 9c80574417 test planfile may need to have a specific lineage
4 years ago
Martin Atkins df578afd7e backend/local: Check dependency lock consistency before any operations
4 years ago
Martin Atkins 6a98e4720c plans/planfile: Create takes most arguments via a struct type
4 years ago
Chris Arcand 171cdbbf93 command: Clean up testInputResponseMap before failing on unused answers
4 years ago
Chris Arcand 8684a85e26 command: Ensure all answers were used in command.testInputResponseMap
4 years ago
James Bardin d0993b0e80 fix temp directory handling in some tests
5 years ago
Martin Atkins 65e0c448a0 workdir: Start of a new package for working directory state management
5 years ago
Kristin Laemmert 583859e510
commands: `terraform add` (#28874)
5 years ago
Martin Atkins 36d0a50427 Move terraform/ to internal/terraform/
5 years ago
Martin Atkins f40800b3a4 Move states/ to internal/states/
5 years ago
Martin Atkins 034e944070 Move plans/ to internal/plans/
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