Commit Graph

63 Commits (6b6be3af359e9d86fb45be8e16e697651e381fbe)

Author SHA1 Message Date
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
James Bardin e93d69f18b more nil/known checks before val.LengthInt
7 years ago
Sander van Harmelen 4d6626b3a8 Terraform show didn’t show absolute paths
7 years ago
Martin Atkins 17b883f592 command/format: Include variable values in diagnostic messages
7 years ago
James Bardin e08a388d3c check IsKnown on values that may panic
7 years ago
Sander van Harmelen 48ef7ecfa6 Updates after running `make fmt` with Go v1.11.1
7 years ago
Martin Atkins 275a44f552 command: Reinstate object ids in the UIHook progress logs
7 years ago
Martin Atkins 34ebde0b95 command/format: be resilient to incomplete schema when formatting state
7 years ago
Kristin Laemmert 3cf1b001c2 command/format: revert indentation change for consistency's sake
7 years ago
Kristin Laemmert db26324b3c command/format: fix indentation
7 years ago
Kristin Laemmert d08fe7a91f cli: format/state_test.go
7 years ago
Kristin Laemmert 14c28b8de4 cli: format/state refactor to use blockBodyDiffPrinter
7 years ago
Kristin Laemmert 8063f69e5c cli: format/state refactor for new state format
7 years ago
Martin Atkins 058a1d81b0 command/format: Remove tests for plan.go
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