Use serializeProperties, not serializeResourceProperties
@@ -292,7 +292,7 @@ export function registerResourceOutputs(res: Resource, outputs: Inputs | Promise
// The registration could very well still be taking place, so we will need to wait for its URN.
// Additionally, the output properties might have come from other resources, so we must await those too.
const urn = await res.urn.promise();
- const resolved = await serializeResourceProperties(opLabel, { outputs });
+ const resolved = await serializeProperties(opLabel, { outputs });
const outputsObj = gstruct.Struct.fromJavaScript(resolved.outputs);
log.debug(`RegisterResourceOutputs RPC prepared: urn=${urn}` +
(excessiveDebugOutput ? `, outputs=${JSON.stringify(outputsObj)}` : ``));
