Pulumi TypeScript brings full IDE support, type safety, and the Automation API to Azure infrastructure. Define resources as TypeScript classes, compose with interfaces, and embed infrastructure management in your Node.js applications.
TypeScript Pulumi pipeline with type checking, preview, and automated deployment.
pulumi.Output<T> is a generic type. pulumi.all([output1, output2]).apply(([v1, v2]) => ...) combines multiple outputs. TypeScript infers the tuple types correctly — no type assertions needed.
Embed infrastructure management in applications: deploy-on-demand services, multi-tenant provisioning, testing infrastructure with real resources, or IDP (Internal Developer Platform) backends.
Pulumi ESC is a centralized secrets and config management service. Reference secrets from ESC in your TypeScript program with pulumi.Config() — no hardcoding, no env var juggling.
Define TypeScript interfaces for ComponentResource args: interface NetworkArgs { vnetCidr: pulumi.Input<string>; subnets: pulumi.Input<string[]>; }. Consumers get full IntelliSense on component args.
When renaming a resource (moving between modules or renaming variable), use aliases: [ { name: 'oldName' } ] to tell Pulumi this is the same resource. Prevents delete+create on rename.
@pulumi/azure (Crosswalk) provides higher-level APIs: awsx-like patterns for Azure (network, Kubernetes). Wraps azure-native with opinionated defaults for faster, safer deployments.
Sign in to share your feedback and join the discussion.