terraform/internal/plans
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
..
internal/planproto Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
objchange configs/configschema: fix missing "computed" attributes from NestedObject's ImpliedType (#29172) 2021-07-15 13:00:07 -04:00
planfile update to use typed sensitive marks 2021-06-25 12:49:07 -04:00
action.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
action_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
changes.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
changes_src.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
changes_state.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
changes_sync.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
changes_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
dynamic_value.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
mode.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
mode_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
plan.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
plan_test.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00
resourceinstancechangeactionreason_string.go Move plans/ to internal/plans/ 2021-05-17 14:09:07 -07:00