Commit Graph

784 Commits (f2bc9164873bdec092456aba719d7e17d10fa342)

Author SHA1 Message Date
James Bardin 4883499a89 test non-string env var input variables
1 year ago
Liam Cervante f1bd8df9b0
jsonplan: sort the relevant attributes in the correct plan (#36093)
1 year ago
Liam Cervante 36d7e8706f
jsonplan: deterministic relevant attribute order (#36076)
1 year ago
Mark DeCrane b2a90cf587 Testing updates
1 year ago
Mark DeCrane 8d0db63571 Add human view for modules cmd
1 year ago
James Bardin 16fe12ef0b synchronize schema and test fixture
1 year ago
James Bardin c1f8152f10 undeclared variables must be allowed during apply
1 year ago
Bruno Schaatsbergen a5d8673a41
Revert "Merge pull request #35929 from bschaatsbergen/b/fix-retry-messages-in-cloud-backend-json"
1 year ago
Bruno Schaatsbergen 247302f47d
Merge branch 'main' into b/fix-retry-messages-in-cloud-backend-json
1 year ago
Bruno Schaatsbergen 6b0ba4d20d
refactor: gracefully handle marshalling error with empty output
1 year ago
Bruno Schaatsbergen b358e333ee
refactor: make methods private
1 year ago
Daniel Schmidt 6f58dbe75c
write-only attributes: emit structural data on schema rendering
1 year ago
Bruno Schaatsbergen 515897a125
copyright: add missing header
1 year ago
Bruno Schaatsbergen 45c38a6469
Merge branch 'main' into b/fix-retry-messages-in-cloud-backend-json
1 year ago
Bruno Schaatsbergen ae661f3568
views: add comments for clarity
1 year ago
Bruno Schaatsbergen f1428b3388
backend/cloud: expose View to enable reuse in a (cloud) backend
1 year ago
Daniel Schmidt 90973698bf
Merge branch 'main' into pass-ephemeral-variables-to-terraform-apply
1 year ago
Liam Cervante eeacced8f0
Add go vet as a check to the Github commit actions (#31461)
1 year ago
James Bardin 896f9e74b6
Merge pull request #35958 from hashicorp/jbardin/uknown-ephemeral-config
1 year ago
Daniel Schmidt eccf39aa45
ephemeral: support interactive variable input for ephemeral values
1 year ago
Bruno Schaatsbergen 94c732b7a5
views: refactor RetryLog to use an elapsed time
1 year ago
Bruno Schaatsbergen 93ae38dadf
views: add tests for cloud view
1 year ago
James Bardin c2a1070c23 create a ui hook for unknown ephemeral config
1 year ago
Bruno Schaatsbergen c1999a27ad
Merge branch 'main' into b/fix-retry-messages-in-cloud-backend-json
1 year ago
Daniel Schmidt 2e026dec0f
ephemeral: set ephemeral variables for combined plans as well
1 year ago
Bruno Schaatsbergen c71a1a775e
views: refactor retry logic with retryHelper function
1 year ago
Liam Cervante 7c4aeac5f3
stacks: load credentials from config file on startup (#35952)
1 year ago
Bruno Schaatsbergen 558aa18be7
Merge branch 'main' into b/fix-retry-messages-in-cloud-backend-json
1 year ago
Bruno Schaatsbergen ad1f3e0adc
views: add tests for cloud view
1 year ago
Bruno Schaatsbergen c9f418d853
views: add PrepareMessage to cloud view interface
1 year ago
Radek Simko 8176657c5b
command/views: Attempt to fix flaky JSON hook test (#35940)
1 year ago
Daniel Schmidt d550c97553
ephermal: allow setting var and var files for apply
1 year ago
Daniel Schmidt 3207836729
ephemeral: tests for setting unplanned vars during apply
1 year ago
Daniel Schmidt fa44937977
ephemeral: improve diagnostic message through compactValueStr
1 year ago
Daniel Schmidt 0e632aae86
ephemeral: allow setting non-ephemeral values during apply to same value as in plan
1 year ago
Daniel Schmidt 0a71f24453
disable interactive prompt test for now
1 year ago
Daniel Schmidt a87b36a1a8
restructure tests
1 year ago
Daniel Schmidt 756a1a74ad
ephemeral: add apply tests
1 year ago
Daniel Schmidt f4ff263d24
restructure existing test
1 year ago
Bruno Schaatsbergen 6c14e52d8e
test: use Cloud view
1 year ago
Bruno Schaatsbergen d8bfe7a80b
cloud: Initialize a new cloud view in the backend to render messages based on view type.
1 year ago
Bruno Schaatsbergen 377c959c33
views: add cloud view
1 year ago
Bruno Schaatsbergen a90930427a
chore: remove the retrylog hook from the init view
1 year ago
Bruno Schaatsbergen fb878889f2
Merge branch 'main' into b/fix-retry-messages-in-cloud-backend-json
1 year ago
Bruno Schaatsbergen f9797595e3
chore: initialize new view in meta backend
1 year ago
Radek Simko 3d4dab01a0
command/views: Attempt to fix flaky hook test (#35927)
1 year ago
Bruno Schaatsbergen f5dc158709
views: render retry messages using the view
1 year ago
Bruno Schaatsbergen 8635cb1cfb
views: move retryLog hook to init view
1 year ago
Radek Simko 0a266c88c4
terraform: Emit lifecycle phases of ephemeral resources to the UI (#35919)
1 year ago
Brandon Croft c977f90bc3
Merge branch 'main' into brandonc/resource_tags_cloud_block
2 years ago
Brandon Croft 9d0133a541
Fix non-string elements in tags schema
2 years ago
Sebastian Rivera 59cea511dd Only show referenced entries, add versioning
2 years ago
Sebastian Rivera 3498bc9815 Sort JSON objects before comparing to prevent rc error
2 years ago
Sebastian Rivera f19d17cee7 Add missing license headers
2 years ago
Sebastian Rivera a5294c2096 Impl tests for the modules command
2 years ago
Sebastian Rivera ee1a2a7858 Implement the modules command
2 years ago
Brandon Croft e87335a972
cloud: Allows object tag schema for selecting kv tagged workspaces
2 years ago
Bruno Schaatsbergen 098234e244
states: check root output value changes in refresh-only mode (#35812)
2 years ago
Daniel Schmidt b701e152e5
show value is ephemeral in terraform test
2 years ago
Daniel Schmidt b9f273639d
handle ephemeral and sensitive case in diagnostics
2 years ago
Daniel Schmidt 3e7fdd0de9
improve wording of error message
2 years ago
Daniel Schmidt ae103fc491
test: emit a nice error message if the user uses ephemeral resource in terrafom test
2 years ago
Daniel Schmidt 97ba67edea
test: ensure ephemeral values are not shown in diagnostics and warning is printed
2 years ago
Daniel Schmidt 725add6a1a
test: pass in variables during apply
2 years ago
James Bardin 3a1a9408d9 fix Descendants spelling
2 years ago
Radek Simko 06fd817b7c
Remove handling of ephemeral root outputs (#35809)
2 years ago
Radek Simko 5e1d2303fb
jsonprovider: Expose ephemeral resource schemas (#35800)
2 years ago
Daniel Schmidt fbbf59a685
Merge pull request #35706 from ndouglas/patch-1
2 years ago
James Bardin 2cbb6bf92f udpate code which was failing staticckeck
2 years ago
Liam Cervante 332757894d
plan renderer: fix crash when updating a null attribute to unknown (#35709)
2 years ago
Liam Cervante abd6b9ef1b
plan renderer: render unknown nested blocks properly (#35644)
2 years ago
Nate Douglas df653772e1
Fix typo in test.go
2 years ago
kmoe a2039517a5
states: store ephemeral output values in memory (#35676)
2 years ago
makx 2a9a8c2aca
show deprecation warning if -state is used with plan, apply, refresh (#35660)
2 years ago
Radek Simko 91ea2cd6e0
internal/command: Avoid ignoring ephemeralasnull function (#35651)
2 years ago
kmoe fab3673f8d
lang: stabilise ephemeral values experiment (#35636)
2 years ago
James Bardin 2ffbd0eb4e remove old refactoring comments
2 years ago
James Bardin 0b8fbfe323 ignore unexported state field in comparison
2 years ago
James Bardin 16231373a4 update changes in command pkgs
2 years ago
James Bardin bc750192e4 POC for always using decoded changes in core
2 years ago
James Bardin 04b442d419 allow slashes in git url parameters
2 years ago
Daniel Schmidt 3b95a5f6b1
fix formatting
2 years ago
Daniel Schmidt 8e1f02843d
jsonformat: update tests
2 years ago
Daniel Schmidt b9933789aa
jsonformat: render deferred diff with no current changes message
2 years ago
Daniel Schmidt c619cd2536
improve wording
2 years ago
Daniel Schmidt a00e015e24
jsonformat: render different no changes message on deferred actions
2 years ago
Daniel Schmidt 4afb3b2b48
jsonformat: render deferred actions
2 years ago
Liam Cervante 471bddf3ba
json plan: update resource index and import ids to support unknown values (#35518)
2 years ago
Liam Cervante 4f62fcac53
init: fix invalid + duplicate required provider blocks crashing (#35533)
2 years ago
Liam Cervante 3ce9e517ae
fix flaky test in views package (#35469)
2 years ago
James Bardin fcfbd85aa5 add suggestion to run `terraform providers`
2 years ago
Niklas Rosenstein 50463774b0 Fix and clarify error message when -plugin-dir can't be saved to workspace directory
2 years ago
Martin Atkins 71d14e78fd lang: Experimental "ephemeralasnull" function
2 years ago
James Bardin 3bf06b18fc update helptext and docs
2 years ago
James Bardin 3875ea3656 add -lock-file flag to providers mirror command
2 years ago
James Bardin e57d8add35 Check lock file diags in mirror command
2 years ago
Martin Atkins 9dd16a7fba command: "terraform apply" accepts variable values with saved plan
2 years ago
Martin Atkins 6f84623cb6 terraform: Initial partial support for ephemeral values
2 years ago
James Bardin a38be7d174
Merge pull request #35271 from hashicorp/jbardin/render-uknown-block
2 years ago
James Bardin 6b19b9e82a render entirely unknown blocks in the plan output
2 years ago