Commit Graph

41 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
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
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
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
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 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 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 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
James Bardin e93d69f18b more nil/known checks before val.LengthInt
7 years ago
James Bardin e08a388d3c check IsKnown on values that may panic
7 years ago
Martin Atkins 3b8d46418f command/format: print correctly nested blocks with labels
7 years ago
Martin Atkins a43b7df282 core: Handle forced-create_before_destroy during the plan walk
7 years ago
Martin Atkins a37d5268eb command/format: Render unified diff for list and tuple value changes
7 years ago
Martin Atkins 30a46ed8ed command/format: Further refinement on the heuristic JSON-based diff
7 years ago
Martin Atkins 783205948c command/format: JSON value formatting heuristic not for primitive values
7 years ago
Martin Atkins 4406b06ef8 command/format: Don't include commas after elements in map diffs
7 years ago
Martin Atkins ce157c7f23 command/format: show deep diffs for old/new JSON strings
7 years ago
Martin Atkins 9706a00b3a command/format: correct alignment for multi-line values in map diff
7 years ago
Martin Atkins 04d8c17be8 command/format: Nice rendering for changes to map values
7 years ago
Martin Atkins a2f4b8b058 command/format: Show resource diff with header "comment"
7 years ago
Martin Atkins 239a54ad6f command: initial structural diff rendering
7 years ago