Commit Graph

207 Commits (sarah/init-cmd-testing-comments)

Author SHA1 Message Date
Nick Fagerlund 94ea534e40 Refactor terraform.Hook to use a resource-identifying wrapper struct
2 years ago
Nick Fagerlund d81a546e55 Lints: hook_count_test, "redundant type from slice composite literal"
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 89a53e9105 command/test: Fix invalid XML processing instruction
2 years ago
Martin Atkins 4a0d06c13e terraform test: Report skipped runs in JUnit XML output
2 years ago
Martin Atkins b43ddd8ff6 terraform test: Experimental JUnit XML reporting
2 years ago
kmoe a718f70f85
Add removed block (#34251)
2 years ago
Martin Atkins 0811395e6f states: State.AllResourceInstanceObjectAddrs should say "Managed"
2 years ago
Martin Atkins ac562eeb6f states: State.AllResourceInstanceObjectAttrs returns a set
2 years ago
Martin Atkins 13e26b60dd addrs: Adopt DeposedKey as an address type; remove states.Generation
2 years ago
Liam Cervante 01c0480e77
Test framework will produce regular updates in -json mode (#33953)
3 years ago
Liam Cervante ffbcaf8bef
Implement TFC integration for private module registry test runs (#33710)
3 years ago
Liam Cervante 91d26b6ea6
Refactor file and run block feedback frequency (#33840)
3 years ago
Liam Cervante 487eeda94e
[testing framework] Add documentation (#33454)
3 years ago
Liam Cervante 2ea141b3f4
Embed the schemas directly in the testing framework JSON verbose outputs (#33755)
3 years ago
Liam Cervante 9bc5c7afbb
Include run block for JSON fatal interrupt test summaries (#33720)
3 years ago
CJ Horton 98b81d3c50 add missing copyright headers
3 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
Liam Cervante f1ca74f09f Update JSON_UI_VERSION after test framework changes
3 years ago
Liam Cervante 4560a83721
test framework: include transformed config before validating config (#33608)
3 years ago
Sebastian Rivera 08e58fd484 Fix saved plan test regressions, fixtures
3 years ago
Nick Fagerlund ed27fa096e command/views/show_test: Update method arguments, add test cases
3 years ago
Nick Fagerlund 3a9ce2afb1 Update show command and view to support inspecting cloud plans
3 years ago
Nick Fagerlund 0df3c143bb New plans.Quality type for display-relevant facts about a plan
3 years ago
Liam Cervante ad26644578
Fix flaky test in views package (#33560)
3 years ago
Liam Cervante c91f91cc9e
testing framework: change test file extension to .tftest.hcl (#33553)
3 years ago
Liam Cervante ca85d3bf85
Implement word wrapping in the terraform test view functions (#33547)
3 years ago
Liam Cervante 6c7db16566
testing framework: refactor interrupt logic for immediate exits (#33532)
3 years ago
Liam Cervante 6882dd9530
testing framework: introduce test command optional flags (#33504)
3 years ago
Liam Cervante 4862812c94
testing framework: introduce interrupts for stopping tests (#33477)
3 years ago
Liam Cervante 5acc95dda7
[Testing Framework] Add module block to test run blocks (#33456)
3 years ago
James Bardin cf5ebaf685 s/Schemas/ProviderSchema/
3 years ago
James Bardin 36d34135ad replace remaining types in tests
3 years ago
Liam Cervante ed822559e5
[Testing framework] Implement JSON view functionality for test command (#33400)
3 years ago
Liam Cervante ce8fd2943d
[Testing Framework] Add test structure to views package for rendering test output (#33324)
3 years ago
Liam Cervante 48c818927c Remove old implementation of terraform test command
3 years ago
Katy Moe 7ce5503c7a views: fix wordwrap
3 years ago
Martin Atkins 696cd68913 command/views: Describe unknown collection bounds in diagnostics
3 years ago
kmoe b4d1146f58
plannable import: improve gen config human plan output (#33194)
3 years ago
CJ Horton 5d7864316e
Merge pull request #33160 from hashicorp/radditude/apply-counts
3 years ago
Liam Cervante 4d837df546
Plannable import: Add generated config to JSON and human-readable plan output (#33154)
3 years ago
CJ Horton bc084858b1 add import hooks for plan and apply
3 years ago
Liam Cervante 2793af042c Revert "Plannable import: Make the streamed logs more consistent during a plan operation (#33155)"
3 years ago
Liam Cervante 3c20f7b340
Plannable import: Make the streamed logs more consistent during a plan operation (#33155)
3 years ago
hashicorp-copywrite[bot] bb36298b21 [COMPLIANCE] Add Copyright and License Headers
3 years ago
Liam Cervante 81eb73731d
[Plannable Import] Implement streamed logs for plan (#33106)
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Liam Cervante 978263efe9
Checks: Introduce check blocks into the terraform node and transform graph (#32735)
3 years ago
Liam Cervante d818d7850d
Structured Renderer: use the new renderer when rendering the state in addition to the plan (#32629)
3 years ago
zetHannes c70244426a
Fix for no json output of state locking actions for --json flag (#32451)
3 years ago
Liam Cervante 6dc49150b7
Structured Plan Renderer: Read the data source schemas from the right place (#32532)
3 years ago
Liam Cervante 8d61c5bfc4
Use the new structured renderer in place of the old diffs package (#32520)
3 years ago
Martin Atkins 4660dacd59 command: Prototype of handling errored plans
3 years ago
UKEME BASSEY 7b34e3e743 redact sensitive output values in run logs
4 years ago
kmoe dec48a8510
plans: indicate when resource deleted due to move (#31695)
4 years ago
kmoe 621af43c04
fix missing output for applyable refresh plans (#31469)
4 years ago
Martin Atkins 72dd14ca5c core: Do everything except the actual action for plans.NoOp
4 years ago
Martin Atkins 90ea7b0bc5 tfdiags: Treat unknown-related or sensitive-related messages differently
4 years ago
Martin Atkins 31aee9650e command/format: Include function call information in diagnostics
4 years ago
Martin Atkins 4cffff24b1 core: Report reason for deferring data read until apply
4 years ago
James Bardin 7da52d94f2
Merge pull request #30900 from hashicorp/jbardin/replace-triggered-by
4 years ago
James Bardin c52e3ed37b test fixture race
4 years ago
James Bardin 3a0a019521 round-trip replace triggers
4 years ago
James Bardin 09dde8d5ed improve the contributing attributes filter
4 years ago
James Bardin f0cd8be66f add whole resource references
4 years ago
James Bardin e2b74247f2 track contributing instances
4 years ago
James Bardin 25f4c0d3dd filter attribute refresh changes from plan UI
4 years ago
James Bardin 0e7cec83db decode change before creating diff
4 years ago
James Bardin c02e8bc5b3 change plan to store individual relevant attrs
4 years ago
James Bardin f1e8aed48d output drift footer in the right place
4 years ago
James Bardin c5c7045a89 filter out non-relevant drift changes
4 years ago
James Bardin a151aaef05 only show drift when there are changes
4 years ago
Krista LaFentres fea8f6cfa2 cli: Migrate show command to use command arguments and views
4 years ago
Martin Atkins 5b266dd5ca command: Remove the experimental "terraform add" command
5 years ago
Alisdair McDiarmid b9f3dab035 json-output: Release format version 1.0
5 years ago
Alisdair McDiarmid b699391d04 json-output: Add change reasons to explain deletes
5 years ago
Alisdair McDiarmid b59b057591 json-output: Config-driven move support in JSON UI
5 years ago
Alisdair McDiarmid 638784b195 cli: Omit move-only drift, except for refresh-only
5 years ago
Alisdair McDiarmid d425c26d77
Merge pull request #29589 from hashicorp/alisdair/planfile-drifted-resources
5 years ago
Alisdair McDiarmid 1f57b7a8bd
Merge pull request #29235 from magodo/terraform_add_output_append
5 years ago
Alisdair McDiarmid f0cf4235f9 cli: Refactor resource drift rendering
5 years ago
Alisdair McDiarmid cd29c3e5fd
Revert "json-output: Release format version 1.0"
5 years ago
Laura Pacilio a819d7db3a
Merge pull request #29502 from hashicorp/alisdair/json-format-version
5 years ago
Alisdair McDiarmid 29999c1d6f command: Render "moved" annotations in plan UI
5 years ago
Alisdair McDiarmid b60f201eed json-output: Release format version 1.0
5 years ago
James Bardin 863963e7a6 de-linting
5 years ago
Martin Atkins 43d753e727 command: "terraform add" is experimental
5 years ago
Alisdair McDiarmid 3b33dc1105 json-output: Add output changes to plan logs
5 years ago
magodo dea645797a
`terraform add -out` append to existing config
5 years ago
Alisdair McDiarmid a456d030db Fix flapping JSON output test properly
5 years ago
Alisdair McDiarmid c51112a30c Fix flapping JSON output test
5 years ago
Alisdair McDiarmid 71a067242d json-output: Add resource drift to machine readable UI
5 years ago
Martin Atkins 70bc432f85 command/views/json: Never generate invalid diagnostic snippet offsets
5 years ago
James Bardin 55ebb2708c remove IsMarked and ContainsMarked calls
5 years ago
James Bardin d9dfd451ea update to use typed sensitive marks
5 years ago
Kristin Laemmert 583859e510
commands: `terraform add` (#28874)
5 years ago
Alisdair McDiarmid 953738c128 command/views: Remove unused drift summary message
5 years ago
James Bardin 3bf498422c typo
5 years ago
James Bardin 45b5c289a0 no drift with only deposed changes
5 years ago
James Bardin 57aa7c6025 skip drift rendering for deposed resources
5 years ago
James Bardin aae642fb07 fix schemas and add deposed test
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