Function resolveProperties

  • resolveProperties takes as input a gRPC serialized and resolves all of the resource's matching properties to the values inside.

    NOTE: it is imperative that the properties in allProps were produced by deserializeProperties in order for output properties to work correctly w.r.t. knowns/unknowns: this function assumes that any undefined value in allPropsrepresents an unknown value that was returned by an engine operation.


    • res: Resource
    • resolvers: Record<string, ((v, isKnown, isSecret, deps?, err?) => void)>
    • t: string
    • name: string
    • allProps: any
    • deps: Record<string, Resource[]>
    • Optional err: Error
    • Optional keepUnknowns: boolean

    Returns void

Generated using TypeDoc