Pulumi's Node.js SDK for infrastructure-as-code platform that allows you to create, deploy, and manage infrastructure using familiar programming languages and tools.
85
Design a small infrastructure module that provisions resources for a batch workspace while honoring lifecycle rules.
preserveState is true, destroying the stack leaves the state store intact and avoids replacement on updates that only touch the runner @testadoptExistingStateId is provided, the state store is treated as an existing resource with that identifier instead of creating a new one @test@generates
export interface WorkspaceArgs {
serviceName: string;
preserveState?: boolean;
adoptExistingStateId?: string;
}
export interface WorkspaceResult {
stateLocation: unknown;
runnerName: unknown;
}
export function createWorkspace(name: string, args: WorkspaceArgs): WorkspaceResult;Provides the infrastructure as code runtime and resource lifecycle controls.
Install with Tessl CLI
npx tessl i tessl/npm-pulumi--pulumidocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10