inputs can have a resource defined for them

while the name is what's actually used to correlate with the build's
config, the resource is useful upstream so that it can correlate with
logical resource identifiers without requiring an additional context
(e.g. a reverse mapping from input name -> resource via config)

[#81142344]