terraform/internal/plans/objchange
Kristin Laemmert 0d80a74539
configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType (#29172)
* configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType

listOptionalAttrsFromObject was not including "computed" attributes in the list of optional object attributes. This is now fixed. I've also added some tests and fixed some panics and otherwise bad behavior when bad input is given. One natable change is in ImpliedType, which was panicking on an invalid nesting mode. The comment expressly states that it will return a result even when the schema is inconsistent, so I removed the panic and instead return an empty object.
2021-07-15 13:00:07 -04:00
..
action.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
all_null.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
compatible.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
compatible_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
doc.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
lcs.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
lcs_test.go update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
normalize_obj.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
normalize_obj_test.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
objchange.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
objchange_test.go configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType (#29172) 2021-07-15 13:00:07 -04:00
plan_valid.go handle unexpected changes to unknown block 2021-06-11 13:13:40 -04:00
plan_valid_test.go handle unexpected changes to unknown block 2021-06-11 13:13:40 -04:00