Demos and production are different sports. This checklist covers what changes when Pulumi has to be reliable, secure and observable under real load.
Security and reliability defaults
- Encrypt secrets in state and config
- Use least-privilege cloud credentials in CI
A production-minded 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;Operational best practices
- Keep programs declarative; push logic into tested helpers
- Use pulumi config set --secret for encrypted config
- Write unit tests with the language's normal test tools
In production, boring and reproducible beats clever every time.
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.