Commit Graph

1304 Commits (bcc69c05bb23e7ab2eebd0bda396ca9c090984fd)

Author SHA1 Message Date
Kristin Laemmert b9f114aa25
command/show (json): marshal the state snapshot included with the plan file (#21597)
7 years ago
Kristin Laemmert 06a3333316 note: this is an unusual edgecase in the category of "probably should not happen"
7 years ago
Kristin Laemmert 703f024cbd command/show (-json): fix panic if a moduleCall has a nil config
7 years ago
Kristin Laemmert 65fc037ecb
command/show (plan -json): fix panic (#21541)
7 years ago
James Bardin 7f5ffbfe90
Merge pull request #21439 from hashicorp/jbardin/init-backend
7 years ago
James Bardin 06dfc4abd8 allow setting -backend-config='' to unset override
7 years ago
Martin Atkins d512584497 command/jsonplan: Don't panic with mixtures of known/unknown/empty
7 years ago
James Bardin c017149b31 don't store prepared backend config
7 years ago
James Bardin ee9a618369 don't migrate backend during init without override
7 years ago
James Bardin cefc927e48 failing test for backend re-init
7 years ago
Sander van Harmelen 8fd3aa91a0
Merge pull request #21234 from hashicorp/svh/f-init-v0.12
7 years ago
Radek Simko 12f7ac1374
command/format: Reduce extra whitespaces & new lines
7 years ago
Martin Atkins 63fa1ac418 vendor: go get github.com/hashicorp/hcl2@master
7 years ago
Sander van Harmelen d9ba0c69ea Always try to select a workspace after initialization
7 years ago
Martin Atkins 6adcc7ab73 vendor: go get github.com/zclconf/go-cty@master
7 years ago
Martin Atkins eed605ac05 [WIP] Re-enable the end-to-end tests (#20044)
7 years ago
Sander van Harmelen e41c2ecdce
Merge pull request #21139 from hashicorp/svh/b-stdin
7 years ago
Sander van Harmelen 9ab2e9d8b2 Make sure UIInput keeps working after being canceled
7 years ago
James Bardin f79a768a4e command/format: take noop changes from lcs
7 years ago
Przemysław Dąbek 9605b093d9 command/graph: use user-supplied plugin path when running graph command (#18083)
7 years ago
Kristin Laemmert c1079b59bd
command/state_list.go: fix bug loading user-defined state (#21015)
7 years ago
Kristin Laemmert 1c95b21c6c
command/output: get the state path from the workspace or CLI argument (#20994)
7 years ago
Martin Atkins 88e76fa9ef configs/configschema: Introduce the NestingGroup mode for blocks
7 years ago
Pam Selle 346e341ff2 Only display status link if public registry used
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
Pam Selle ff7245f27c Add status link to make message more helpful
7 years ago
Pam Selle d72456d188 Add friendly error for when registry unresponsive
7 years ago
Kristin Laemmert d5bb09b13b
command/show: refresh is required to show remote state (#20818)
7 years ago
Justin Downing 1e32ae243c grammatical updates to comments and docs (#20195)
7 years ago
findkim 161fe47b34 plugin/discovery: improve providery discovery verification errors
7 years ago
Martin Atkins e918fa83ec command/format: Don't panic when item removed from list of objects
7 years ago
Justin Campbell e696e063dc
Merge pull request #20674 from hashicorp/registry-warnings
7 years ago
Justin Campbell e6316c9de6 plugin/discovery: Parse warnings from TF Registry
7 years ago
Justin Campbell 24e13d8ec1 plugin/discovery: Return tfdiags from Get
7 years ago
Martin Atkins c39905e1a8 command: Fix various issues in the "terraform state ..." subcommands
7 years ago
Kristin Laemmert c73a5fc07d
command/show: add provider name to resource changes (#20711)
7 years ago
Kristin Laemmert 9d0d564ec7
`terraform show` and `terraform providers schema -json` should return valid json (#20697)
7 years ago
James Bardin 0569e39788 don't try to treat "null" as json in diff output
7 years ago
Kristin Laemmert a15a4acf2f
configs/configupgrade: detect possible relative module sources (#20646)
7 years ago
James Bardin a8df5586c0 check for errors when loading a backend config
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
Kristin Laemmert 30672faebe
remove indentation from json output of `show` and `providers schema` (#20623)
7 years ago
James Bardin b8e53255b4 Revert "remove NormalizeObjectFromLegacySDK from diff"
7 years ago
Sander van Harmelen 973e2a7cf9 core: add a context to the UIInput interface
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
Brian Flad 20a814028d
command: Consistency implement and document parallelism default of 10
7 years ago
Kristin Laemmert b9d8e96e0c
command/plan: plan output should indicate if a resource is being (#20580)
7 years ago
Kristin Laemmert d72defd044
command/show and state show: honor user-specified plugin-dir (#20557)
7 years ago
James Bardin 369d512e22
Merge pull request #20546 from hashicorp/jbardin/backend-init-panic
7 years ago
James Bardin 2adf5801d9 don't panic of the users aborts backend input
7 years ago
Kristin Laemmert 8fb4e5ce6e
command/show: differentiate between state schemas and plan schemas. (#20516)
7 years ago
Kristin Laemmert c4151b7c7c
command/show: fixing bugs in modulecalls (#20513)
7 years ago
Kristin Laemmert 21f6e3dffd
Mildwonkey/012 docs updated (#20542)
7 years ago
Martin Atkins f193b11073 command/format: Normalize before/after values before rendering
7 years ago
James Bardin f43b87a61e
Merge pull request #20480 from hashicorp/jbardin/backend-init
7 years ago
James Bardin c814f2da37 Change backend.ValidateConfig to PrepareConfig
7 years ago
Martin Atkins 6b6be3af35 command: Remove promise of plan -validate-only from validate docs
7 years ago
Kristin Laemmert 16823f43de
command/jsonprovider: export providers schemas to json (#20446)
7 years ago
Martin Atkins 552dddfb4c command: Specialized error message for var decls in tfvars
7 years ago
Kristin Laemmert 4dd8192ec7
Merge pull request #20352 from hashicorp/mildwonkey/show-docs
7 years ago
Nick Fagerlund 3c42508700
Apply suggestions from code review
7 years ago
Kristin Laemmert 0c94e20a83
command/show enhancements and bugfixes
7 years ago
Kristin Laemmert b14472f22c
command/jsonconfig: add missing fields from configuration output (#20387)
7 years ago
Kristin Laemmert 874b333962
command/format: fix an issue where data resources were not displaying (#20386)
7 years ago
Kristin Laemmert c59a274e96
command/jsonplan: "deposed" should be a string, not a bool. (#20351)
7 years ago
Kristin Laemmert 818b4ec068
command/show: add "module_version" to "module_calls" in config (#20367)
7 years ago
Kristin Laemmert a43004e382 website/docs: add detailed documentation for the json serialization of
7 years ago
Kristin Laemmert f7ab90207c website/docs: add -json flag to terraform show docsn
7 years ago
Kristin Laemmert f783ed0d45
command/jsonconfig: display module variables in config output (#20311)
7 years ago
Martin Atkins eb1346447f
Merge #20282: Enforce expected behaviors for provider PlanResourceChange
7 years ago
Martin Atkins 0b7179c363 command: Apply tests with realistic mock providers
7 years ago
Kristin Laemmert f2f35265bc
command/show: json output enhancements (#20291)
7 years ago
Martin Atkins 7e186f72d9 command: Update "terraform show -json" tests for changed provider contract
7 years ago
Kristin Laemmert c810e4582c
command/show: continued work on `terraform show -json` output (#20171)
7 years ago
Radek Simko 101454a609
command: Fix TestUiHookPostApply_emptyState
7 years ago
Kristin Laemmert 653bb74403
command/format: include nested blocks in `terraform show` output (#20149)
7 years ago
Radek Simko 37f397dded
command/test: Clarify failure (add full path)
7 years ago
Kristin Laemmert a2ac491cde
command/show: improvements to json output (#20139)
7 years ago
Kristin Laemmert 6e057c529e
command/jsonplan: sort resources by address (#20113)
7 years ago
Kristin Laemmert 514ac6b890
command/show: improvements to show -json output (#20110)
7 years ago
Kristin Laemmert e9099b4fcc
command/jsonplan: fix panic when filteredAfter is null (#20096)
7 years ago
Kristin Laemmert f00fcb90bf
mildwonkey/b-show-state (#20032)
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
Martin Atkins 8b094f48f7 command: Update "terraform get" to use the new module installer
7 years ago
Martin Atkins 176a5abfd3 command: Restore single-file support in "terraform fmt"
7 years ago
Martin Atkins b0a43cab84 command: "terraform fmt" must fail if file has invalid syntax
7 years ago
findkim 7816e61614 Bump installer protocol version to 5 and separate client and server protocol references
7 years ago