Anything you do to Pulumi twice should be automated. This walks the path from a manual install to a repeatable, pipeline-driven setup.
1. Install it reproducibly
curl -fsSL https://get.pulumi.com | sh
pulumi version
pulumi new aws-typescript2. Describe the desired state
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;3. Run it from CI
Preview and deploy with the Pulumi GitHub Action.
- uses: pulumi/actions@v6
with: { command: up, stack-name: acme/prod }
env: { PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} }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.