Commit Graph

86 Commits (d30b99d9bf8bbbb07e17c433309f1cadefdb490d)

Author SHA1 Message Date
Simon Brady 7a9fa93724 command/plan: Fix panic in plan output with string containing null and whitespace (#23102)
6 years ago
Thayne McCombs a895a42f85 command/format: fix missing elements at the end of lists in diffs
6 years ago
Martin Atkins 7db2825646 command/format: multi-line rendering for unchanged strings
6 years ago
Martin Atkins d0cbbb6a00 command/format: Remove defunct "Plan" type and associated symbols
6 years ago
Martin Atkins 39e609d5fd vendor: switch to HCL 2.0 in the HCL repository
6 years ago
James Bardin 345dfaccb6 Account for deposed instances in show command, adding the details for
7 years ago
Jon Burgess c0b1220a92 Fixes #21907
7 years ago
Radek Simko 12f7ac1374
command/format: Reduce extra whitespaces & new lines
7 years ago
Martin Atkins 6adcc7ab73 vendor: go get github.com/zclconf/go-cty@master
7 years ago
James Bardin f79a768a4e command/format: take noop changes from lcs
7 years ago
Martin Atkins 88e76fa9ef configs/configschema: Introduce the NestingGroup mode for blocks
7 years ago
Kristin Laemmert f8a5e17d3d
command/format: improve "source" of error messages regarding missing arguments (#20907)
7 years ago
Frederic 0f1f504c22 command/format: indicate in diff when adding an attribute forces replacement
7 years ago
Martin Atkins e918fa83ec command/format: Don't panic when item removed from list of objects
7 years ago
James Bardin 0569e39788 don't try to treat "null" as json in diff output
7 years ago
Martin Atkins 2d41c1009b command/format: Diffs for NestingMap block types
7 years ago
Martin Atkins dd1fa322a7 command/format: Support list/map blocks with dynamic-typed attrs
7 years ago
Martin Atkins 69772b11b1 command/format: test for diff rendering with dynamic-typed subattrs
7 years ago
James Bardin b8e53255b4 Revert "remove NormalizeObjectFromLegacySDK from diff"
7 years ago
James Bardin a95d97f066
Merge pull request #20595 from hashicorp/jbardin/normalize-objects
7 years ago
James Bardin 5c40d6610c remove NormalizeObjectFromLegacySDK from diff
7 years ago
Kristin Laemmert b9d8e96e0c
command/plan: plan output should indicate if a resource is being (#20580)
7 years ago
Martin Atkins f193b11073 command/format: Normalize before/after values before rendering
7 years ago
Kristin Laemmert 874b333962
command/format: fix an issue where data resources were not displaying (#20386)
7 years ago
Kristin Laemmert 653bb74403
command/format: include nested blocks in `terraform show` output (#20149)
7 years ago
Radek Simko b492c3662c
Merge pull request #20089 from hashicorp/t-cmd-fmt-sensitive-update
7 years ago
Radek Simko f04d0b48bc
command/format: Add test to cover update of sensitive field
7 years ago
Radek Simko 953eae7e4b
command/format: Fix rendering of different types
7 years ago
Radek Simko f3d1565d6f
command/format: Fix tuple diff formatting
7 years ago
Radek Simko 0dff8fe5e0
Add failing test case for tuple
7 years ago
Radek Simko 3d0a25c65d
command/format: Fix nested (JSON) object formatting
7 years ago
Radek Simko c5ba7469be
command/format: Fix rendering of unknown elements in set/map/list
7 years ago
Radek Simko 98cc99e632
command/format: Add crashing test with unknown element in map
7 years ago
Radek Simko 73225c7aeb
command/format: Add crashing test with unknown element in list
7 years ago
Radek Simko e7e8b7358f
command/format: Add crashing test with unknown element in set
7 years ago
Radek Simko 13896d72c5
command/format: Render empty object as {}
7 years ago
Radek Simko 5f14b7a7f2
command/format: Render empty primitive list/set as []
7 years ago
Radek Simko 09d19ca9d9
command/format: Render empty JSON object as {}
7 years ago
Radek Simko 0dd2d56f18
command/format: Render empty maps as {}
7 years ago
Radek Simko d96f4fa77b
command/format: Ignore removal of empty strings
7 years ago
Radek Simko bc4b7cad68
command/format: Render null in dark gray (#19616)
7 years ago
Radek Simko f64978b64c
backend/local: Render CBD replacement (+/-) correctly (#19642)
7 years ago
Radek Simko b28efa0bf3
command/format: Fix tests
7 years ago
Radek Simko 0b981fa641
command/format: Fix rendering of force-new updates
7 years ago
Radek Simko fe117e9f02
command/format: Fix rendering of nested blocks during update
7 years ago
Radek Simko 2df886397b
command/format: Add more tests to cover non-primitive fields
7 years ago
Radek Simko e3e459a8d4
command/format: Restructure tests
7 years ago
Radek Simko 49e7026bdd
command/format: Add tests for ResourceChange renderer
7 years ago
Kristin Laemmert e3cecb7d56
format/state: added missing newline in the `outputs` output (#19542)
7 years ago
Radek Simko 4f2868a019
command/format: Fix rendering of attribute-agnostic diagnostics
7 years ago