mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-30 10:47:14 -06:00
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_expr.go | ||
analysis.go | ||
doc.go | ||
module_sources_test.go | ||
module_sources.go | ||
upgrade_body.go | ||
upgrade_expr.go | ||
upgrade_native.go | ||
upgrade_test.go | ||
upgrade.go | ||
upgrader.go |