Commit Graph

61 Commits (6440c839474f052d8997bb5cec19c2743e5108e6)

Author SHA1 Message Date
Pam Selle 55c96da27e Move nested block printing to own method for readability
5 years ago
Pam Selle 73b1d8b0d1 Add special diff for nested blocks
5 years ago
Pam Selle 3e7be13dff Update ordering for marking/unmarking and asserting plan valid
5 years ago
Pam Selle 52b6f7f53e Move common IsMarked checks above switch statement
5 years ago
Pam Selle 1780351636 If the whole map is marked, have the same sensitivity behavior as a single value
5 years ago
Pam Selle 0520f143a2 Add diff coverage for maps
5 years ago
Pam Selle 634e83ab63 Change sensitivity warning to be yellow only on 'Warning'
5 years ago
Pam Selle 5b549224ae Refactor to call ContainsMarked less and use len() instead
5 years ago
Pam Selle 3c9fad0b0e Move plan action check into the sensitivity warning method
5 years ago
Pam Selle 531728f6e9 Sensitive diffs for primitive types
5 years ago
Pam Selle 20921dbfb8 Add warning about sensitivity change
5 years ago
Pam Selle 8d8389da74 Add diff test with a sensitive change
6 years ago
Pam Selle e4e16ccbd3 Rebase fix
6 years ago
Pam Selle bc55b6a28b Use UnmarkDeepWithPaths and MarkWithPaths
6 years ago
Pam Selle 896d277a69 If the path is empty, we should not be marking the path
6 years ago
Pam Selle 84d118e18f Track sensitivity through evaluation
6 years ago
Alisdair McDiarmid 09d8355f43 command: Add experimental concise diff renderer
6 years ago
Martin Atkins 31a4b44d2e backend/local: treat output changes as side-effects to be applied
6 years ago
Pam Selle 2b8e876bdb Don't inspect an empty set, return false
6 years ago
tmshn fcc1a76d5e make plan-diff format a bit more dry
6 years ago
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