Pulumi lets you define cloud infrastructure using general-purpose languages (TypeScript, Python, Go, C#), bringing loops, functions, tests and IDE support to IaC while keeping a Terraform-like plan/apply model.
Why teams use it
- Use real languages with loops, functions and unit tests
- Strong typing and IDE autocomplete for cloud resources
- Reuse existing packages and testing frameworks
Install it
curl -fsSL https://get.pulumi.com | sh
pulumi version
pulumi new aws-typescriptA first working config
An S3 bucket defined in TypeScript.
import * as aws from "@pulumi/aws";
const assets = new aws.s3.BucketV2("assets", {
bucket: "acme-assets",
tags: { Environment: "prod" },
});
export const bucketName = assets.bucket;Run and verify
pulumi preview
pulumi up
pulumi stack output bucketNameMistakes to avoid early
- Putting imperative logic with side effects in resource code
- Leaking secrets into stack config without encryption
- No unit tests despite using a real language
Want senior help putting Pulumi to work - or a team bootcamp on it? CodeWizard runs Israel's largest DevOps community and embeds named senior engineers with a transparent hours log. Book a free consult or explore the Academy.