2c78414724
`terraform 0.12upgrade` assumes that the configuration has passed 0.11 init, but did not explicitly check that the configuration was valid. Certain issues would not get caught because the configuration was syntactically valid. In this case, int or float values out of range resulted in a panic from `Value()`. Since running a 0.11 validate command is a breaking change, this PR merely moves the `Value()` logic for ints and floats into `configupgrade` so the error can be returned to the user, instead of causing a panic. |
||
---|---|---|
.. | ||
testdata | ||
analysis.go | ||
analysis_expr.go | ||
doc.go | ||
module_sources.go | ||
module_sources_test.go | ||
upgrade.go | ||
upgrade_body.go | ||
upgrade_expr.go | ||
upgrade_native.go | ||
upgrade_test.go | ||
upgrader.go |