logical.importPulumifunctionno test imports itfunction importPulumi(source: string, text: string): ImportsThe resources of an exported stack as assets and links.
Pulumi: the JSON of pulumi stack export. Every resource except the stack and the providers is a cloud resource whose provider and type come from its type token (aws:ec2/instance:Instance is the provider aws, the type ec2/instance:Instance), and the links are the dependencies and the parent of each. Only the type and the identifier are copied: the inputs and the outputs of a resource, which hold secrets, are not.
import { importPulumi } from "./pulumi.ts";
importPulumi("stack.json", JSON.stringify({ deployment: { resources: [] } })).assets; // []logical.importPulumifunctionno test imports itfunction importPulumi(source: string, text: string): ImportsThe resources of an exported stack as assets and links.
importPulumifunctionfunction importPulumi(source: string, text: string): ImportsThe resources of an exported stack as assets and links.