mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Applying object type defaults to null values can convert null to an object with partial attributes. This means that even a specified default value of null will not remain null after variable evaluation. In turn, the result can then be invalid, if not all attributes in an object type have defaults specified. This commit skips the type default application step during config load and variable evaluation if the default or given value is null of any type. We still perform type conversion. |
||
---|---|---|
.. | ||
config-build | ||
config-diagnostics | ||
dir-empty | ||
duplicate-local-name | ||
error-files | ||
escaping-blocks | ||
experiments | ||
invalid-files | ||
invalid-modules | ||
nested-backend-warning | ||
nested-cloud-warning | ||
nested-errors | ||
provider-reqs | ||
providers-explicit-fqn | ||
valid-files | ||
valid-modules | ||
warning-files |