Commit Graph

130 Commits (6440c839474f052d8997bb5cec19c2743e5108e6)

Author SHA1 Message Date
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
James Bardin e93d69f18b more nil/known checks before val.LengthInt
8 years ago
Sander van Harmelen 4d6626b3a8 Terraform show didn’t show absolute paths
8 years ago
Martin Atkins 17b883f592 command/format: Include variable values in diagnostic messages
8 years ago
James Bardin e08a388d3c check IsKnown on values that may panic
8 years ago
Sander van Harmelen 48ef7ecfa6 Updates after running `make fmt` with Go v1.11.1
8 years ago
Martin Atkins 275a44f552 command: Reinstate object ids in the UIHook progress logs
8 years ago
Martin Atkins 34ebde0b95 command/format: be resilient to incomplete schema when formatting state
8 years ago
Kristin Laemmert 3cf1b001c2 command/format: revert indentation change for consistency's sake
8 years ago
Kristin Laemmert db26324b3c command/format: fix indentation
8 years ago
Kristin Laemmert d08fe7a91f cli: format/state_test.go
8 years ago
Kristin Laemmert 14c28b8de4 cli: format/state refactor to use blockBodyDiffPrinter
8 years ago
Kristin Laemmert 8063f69e5c cli: format/state refactor for new state format
8 years ago
Martin Atkins 058a1d81b0 command/format: Remove tests for plan.go
8 years ago
Martin Atkins 3b8d46418f command/format: print correctly nested blocks with labels
8 years ago
Martin Atkins a43b7df282 core: Handle forced-create_before_destroy during the plan walk
8 years ago
Martin Atkins a37d5268eb command/format: Render unified diff for list and tuple value changes
8 years ago
Martin Atkins 30a46ed8ed command/format: Further refinement on the heuristic JSON-based diff
8 years ago
Martin Atkins 783205948c command/format: JSON value formatting heuristic not for primitive values
8 years ago
Martin Atkins 4406b06ef8 command/format: Don't include commas after elements in map diffs
8 years ago
Martin Atkins ce157c7f23 command/format: show deep diffs for old/new JSON strings
8 years ago
Martin Atkins 9706a00b3a command/format: correct alignment for multi-line values in map diff
8 years ago
Martin Atkins 04d8c17be8 command/format: Nice rendering for changes to map values
8 years ago
Martin Atkins a2f4b8b058 command/format: Show resource diff with header "comment"
8 years ago
Martin Atkins 239a54ad6f command: initial structural diff rendering
8 years ago
Martin Atkins a7342de274 core: Properly handle no-op changes in plan
8 years ago
Martin Atkins 5731703de5 command/format: show planned changes in rendered plan
8 years ago
Martin Atkins a3403f2766 terraform: Ugly huge change to weave in new State and Plan types
8 years ago
Martin Atkins 2ef56b3e05 Fix up some missed "go fmt"
8 years ago
Martin Atkins bd10b84a8e command/format: include source snippets in diagnostics
8 years ago
James Bardin a37acb1837 gofmt with go1.10
8 years ago
Martin Atkins ea81e75a4e command: utility for rendering tfdiag diagnostics
9 years ago
Martin Atkins fe4cfd03b5 command/format: restore "(forces new resource)" caption
9 years ago
Martin Atkins 83414beb8f command: various adjustments to the diff presentation
9 years ago
Martin Atkins 3ea159297c command/format: improve consistency of plan results
9 years ago
Martin Atkins 0dc6d97a37 command/format: minor adjustments to plan rendering
9 years ago
Mitchell Hashimoto 0a0842a7d9
command/format: a package for formatting plans/state for output
9 years ago