terraform/configs/configupgrade
Martin Atkins d7f23f0beb configs/configupgrade: Don't panic if analyzer fails
Previously we were trying to access a field of the analysis object before
checking if analysis produced errors. The analysis function usually
returns a nil analysis on error, so this would result in a panic whenever
that happened.

Now we'll dereference the analysis object pointer only after checking for
errors, so we'll get a chance to report the analysis error to the user.
2019-04-17 10:08:54 -07:00
..
test-fixtures configs/configupgrade: Preserve comments on items in object exprs 2019-04-17 07:48:57 -07:00
analysis.go configs/configupgrade: detect possible relative module sources (#20646) 2019-03-13 11:17:14 -07:00
analysis_expr.go configs/configupgrade: Do type inference with input variables 2018-12-07 17:05:36 -08:00
doc.go configupgrade: new package for upgrading configs for 0.12 2018-10-16 18:50:29 -07:00
module_sources.go configupgrade: Load source code for a module and detect already upgraded 2018-10-16 18:50:29 -07:00
module_sources_test.go configupgrade: Load source code for a module and detect already upgraded 2018-10-16 18:50:29 -07:00
upgrade.go configs/configupgrade: Don't panic if analyzer fails 2019-04-17 10:08:54 -07:00
upgrade_body.go configs/configupgrade: Prefer block syntax for list-of-object attributes 2019-04-01 13:30:24 -07:00
upgrade_expr.go configs/configupgrade: Preserve comments on items in object exprs 2019-04-17 07:48:57 -07:00
upgrade_native.go configs/configschema: Introduce the NestingGroup mode for blocks 2019-04-10 14:53:52 -07:00
upgrade_test.go configs/configupgrade: Prefer block syntax for list-of-object attributes 2019-04-01 13:30:24 -07:00
upgrader.go terraform: More wiring in of new provider types 2018-10-16 19:12:54 -07:00