- 📘 View Pulumi Docs
- 👏 Contributing
- 🧰 Setup and Development
- 👥 Pulumi Community
- 📘 Pulumi Developer Resources
- 🧭 Pulumi Roadmap
This repository hosts all of the hand-crafted documentation, guides, tutorials, blogs, and landing pages that you see on https://pulumi.com, as well as all of the assets and templates we use to render the Pulumi website. It also houses the documentation that we generate for the Pulumi CLI and language SDKs, and it's responsible for building and deploying the website (with Pulumi, of course!).
- Pulumi AI: You'll find the open-source components of the Pulumi AI project at https://github.com/pulumi/pulumi-ai.
- Pulumi Registry: You'll find everything related to the Registry at https://github.com/pulumi/registry.
We welcome all contributions to this repository. Be sure to read our contributing guide and code of conduct first, then submit a pull request here on GitHub. If you see something that needs fixing but don't have time to contribute, you can also file an issue.
Tip: open your PR as a draft while you iterate. Automated review fires when you mark it ready for review, so a draft-first flow keeps the CI noise down and the review fresh. See CONTRIBUTING.md for the full lifecycle.
See also:
- Build and deployment guide
- Publishing a Pulumi blog post
- Documentation and coding style guide
- AI agent instructions
This repository tracks tool versions in mise.toml. If you have mise installed, you can install the core website toolchain (Hugo, Node.js, Yarn, Go, and Vale) at the pinned versions in one step:
mise installFor SDK and CLI documentation builds, you'll also need Python, .NET, Pulumi, and Pulumi ESC — see Manual Installation below for those.
We build the Pulumi website with Hugo, manage our dependencies with Node.js and Yarn, and write our documentation in Markdown. Below is a list of the tools you'll need if you'd like to work on the website (e.g., to contribute docs content, a blog post, etc.):
- Hugo (>= 0.157.0)
- Hugo 0.157.0 is highly recommended. This is the version we use in our deployment pipelines.
- Node.js (>= 24)
- Yarn (1.x)
- Vale (3.14.1) — required by
make ensurefor prose linting.
Additionally, to build the SDK and CLI documentation, you'll also need:
- Go (>= 1.25)
- Python (>= 3.7)
- .NET (>= 6)
- Pulumi
- Pulumi ESC
This repository includes a dev container configuration that provides a fully pre-configured environment with all the tools you need for developing and contributing to the Pulumi documentation. Using the dev container eliminates the need to install dependencies manually, as it comes with:
- Hugo, Node.js, Yarn, and Markdown tooling.
- Vale for prose linting.
- Go, Python, .NET, and the Pulumi CLI.
- VS Code extensions for Markdown linting, link checking, and Pulumi support.
- Google Cloud CLI and GitHub CLI.
To use the dev container:
- Install Docker (or another compatible container engine), VS Code, and the Dev Containers extension
- Clone this repository
- Open the repository in VS Code
- When prompted, click "Reopen in Container" or run the "Dev Containers: Reopen in Container" command from the Command Palette
The .vscode directory is preconfigured with launch and build tasks. When using default keybindings, press Ctrl+Shift+B to build the site, and F5 to launch the server locally. All of the make commands can be listed in the UI pressing F1 and selecting Tasks: Run Task.
For more information on dev containers, see the VS Code Dev Containers documentation.
-
Documentation and page content: We generally follow Hugo's directory-structure conventions, with Markdown files in
./content, layout files (including partials and shortcodes) in./layout, and data files in./data. There are also several Hugo templates available in./archetypesfor bootstrapping common content types like blog posts and Learn modules. -
CSS and JavaScript: We build our CSS and JavaScript bundles separately from Hugo and check in the built artifacts at
./assets. We use Tailwind for CSS, Stencil for web components, and jQuery for wiring things together in general. Source files for these are in./theme. -
Examples: Many of the examples we include in our documentation are maintained as full Pulumi programs and tested daily. You'll find them all at
./static/programs. -
Infrastructure: We deploy the website as a statically built artifact to a unique Amazon S3 bucket on every commit to the base branch of this repo. The Pulumi program that handles this is located in
./infrastructure. This is also where you'll find the CloudFront configuration that handles proxying Pulumi Neo and the Pulumi Registry.
The Makefile exposes a number of useful helpers for authoring:
make ensureresolves and installs all dependenciesmake lintchecks all Markdown files for correctnessmake formatformats all applicable files to ensure they conform to style guidelinesmake serveruns the Hugo server locally at http://localhost:1313 and watches for changes. You can setBUILD_FUTURE=falseto simulate production behavior by excluding future-dated content (e.g.,BUILD_FUTURE=false make serve). Note: Hugo's dev server does not serve content fromstatic-prebuilt/, so generated SDK reference pages under/docs/reference/pkg/{nodejs,python,dotnet,java}/...will 404 in dev mode — usemake build && make serve-staticto preview those.make serve-alldoes the same asmake serve, but also watches for changes to CSS and JS source filesmake buildgenerates the website and writes it to./public. This includes copyingstatic-prebuilt/(where the auto-generated SDK reference docs live) into the output, which is why this combined withmake serve-staticis the way to preview SDK pages locally.make build-assetsbuilds only the CSS and JavaScript asset bundlesmake serve-staticruns a local HTTP server that serves the contents of./public— use this aftermake buildwhen you need to verify SDK reference pages or anything else served out ofstatic-prebuilt/make testtests all of the programs in./static/programs(see./scripts/programs/test.shfor options)make new-tutorialscaffolds a new single-page tutorialmake new-tutorial-modulescaffolds a new multi-page tutorialmake new-tutorial-topicscaffolds a new tutorial topic and adds it to an existing multi-page tutorialmake new-example-programgenerates a new multi-language set of examples at./static/programsmake new-dev-stackcreates a new dev stack (in thepulumiorganization, which you must belong to)make deploy-dev-stackruns a build, deploys to S3, runs the tests, and deploys to the selected dev stack
As a content contributor, the commands you'll use most often are these:
make ensure # Install or update dependencies.
make serve # Run the development server locally on http://localhost:1313.
make lint # Identify any Markdown or code-formatting issues so you can fix them.If you have Claude Code installed, you can use specialized slash commands to streamline your documentation workflow. These commands provide intelligent assistance with context awareness, interactive prompts, and automatic configuration.
To see all available commands, run:
/docs-tools
This will display the complete list of documentation tools and commands with descriptions, including commands for content creation, review and approval, content improvement, and issue resolution.
Note: While these skills are built for Claude Code, they also work with other AI agents! GitHub Copilot can execute them with the slash prefix (e.g.,
/docs-tools), while Codex works without the slash (e.g.,docs-tools).
We generate reference documentation in two surfaces — language-specific SDK docs and command-line tool docs — and check the output into this repository. In normal operation each one is regenerated automatically by a dedicated GitHub Actions workflow whenever its upstream source repo cuts a release; you only need to regenerate manually when you're modifying a generator script or investigating a regression.
| Surface | Source repo | Workflow file | Output |
|---|---|---|---|
| Pulumi CLI commands | pulumi/pulumi |
pulumi-cli-docs.yml |
content/docs/iac/cli/commands/ |
| Pulumi ESC CLI commands | pulumi/esc |
esc-cli.yml |
content/docs/esc/cli/commands/ |
| Pulumi SDK — TypeScript | pulumi/pulumi |
pulumi-sdk-typescript-docs.yml |
static-prebuilt/docs/reference/pkg/nodejs/pulumi/ |
| Pulumi SDK — Python | pulumi/pulumi |
pulumi-sdk-python-docs.yml |
static-prebuilt/docs/reference/pkg/python/pulumi/ |
| Pulumi SDK — .NET | pulumi/pulumi-dotnet |
pulumi-sdk-dotnet-docs.yml |
static-prebuilt/docs/reference/pkg/dotnet/ |
| Pulumi SDK — Java | pulumi/pulumi-java |
pulumi-sdk-java-docs.yml |
static-prebuilt/docs/reference/pkg/jvm/ |
| Pulumi Policy SDK — Python | pulumi/pulumi-policy* |
pulumi-policy-sdk-python-docs.yml |
static-prebuilt/docs/reference/pkg/python/pulumi_policy/ |
| Pulumi ESC SDK — Python | pulumi/esc-sdk* |
pulumi-esc-sdk-python-docs.yml |
static-prebuilt/docs/reference/pkg/python/pulumi_esc_sdk/ |
(*) These two workflows are workflow_dispatch-only today; an upstream repository_dispatch from the source repo is a planned follow-up.
(Go SDK docs aren't generated here — they're hosted at pkg.go.dev directly from pulumi/pulumi.)
For the CLI and the Pulumi-SDK workflows (TypeScript, Python, .NET, Java), the canonical way to regenerate is to fire the workflow from your terminal. The workflow installs the right toolchains, runs the generator, opens a PR, and (because of the automation/merge label) auto-merges it once CI passes.
# Pulumi SDK - Python at the currently-released CLI version
gh workflow run pulumi-sdk-python-docs.yml --repo pulumi/docs --ref master -f version=3.238.0
# Pulumi SDK - TypeScript
gh workflow run pulumi-sdk-typescript-docs.yml --repo pulumi/docs --ref master -f version=3.238.0
# Pulumi SDK - .NET
gh workflow run pulumi-sdk-dotnet-docs.yml --repo pulumi/docs --ref master -f version=<dotnet-version>
# Pulumi SDK - Java
gh workflow run pulumi-sdk-java-docs.yml --repo pulumi/docs --ref master -f version=<java-version>
# Pulumi Policy SDK / Pulumi ESC SDK - Python
gh workflow run pulumi-policy-sdk-python-docs.yml --repo pulumi/docs --ref master -f version=<policy-version>
gh workflow run pulumi-esc-sdk-python-docs.yml --repo pulumi/docs --ref master -f version=<esc-sdk-version>
# Pulumi CLI markdown
gh workflow run pulumi-cli-docs.yml --repo pulumi/docs --ref master -f version=3.238.0
⚠️ Don't run these against non-current versions under normal circumstances. The generated PR carriesautomation/mergeand auto-merges as soon as CI passes, which means firing a workflow against an older version will roll back the docs on master. For an exploratory regen against a non-current version, immediately stripautomation/mergefrom the generated PR and disable auto-merge (gh pr merge <N> --disable-auto) before CI completes, or close the PR.
Useful when you're modifying a generator script (e.g. scripts/run_typedoc.sh, scripts/generate_python_docs.sh) and want to inspect the output without round-tripping through CI.
make ensure # Install dependencies (one-time).
make update-repos # Clone sibling pulumi/pulumi (etc.) repos — needed for the TypeScript build.
# TypeScript: pulumi package only
NOBUILD=true PKGS=pulumi ./scripts/run_typedoc.sh
# Python: pick one package per invocation. Valid PACKAGE values: pulumi, pulumi_policy, pulumi_esc_sdk.
PACKAGE=pulumi ./scripts/generate_python_docs.sh
PACKAGE=pulumi_policy ./scripts/generate_python_docs.sh
PACKAGE=pulumi_esc_sdk ./scripts/generate_python_docs.sh
# .NET (requires `dotnet` and the `docfx` global tool on PATH)
dotnet tool install -g docfx # one-time
./scripts/run_docfx.sh
# Java (requires Java 17 + Gradle; see pulumi-sdk-java-docs.yml for details)
JAVA_REPO=../pulumi-java ./scripts/gen_javadoc.sh
# Pulumi CLI markdown — uses the currently-installed `pulumi` binary, so install
# the version you're documenting before running.
PULUMI_EXPERIMENTAL=true pulumi gen-markdown ./content/docs/iac/cli/commands
# Pulumi ESC CLI markdown
esc gen-docs ./content/docs/esc/cli/commandsThe generated content lands in the output paths from the table above. Preview locally with:
make build # Build the website, copying all generated docs into place.
make serve-static # Serve the built site on http://localhost:8080.With make serve-static running, browse to http://localhost:8080/docs:
- Choose Languages & SDKs → your language → scroll to the package you're interested in.
- Choose Pulumi CLI or Pulumi ESC CLI → Commands.
All generated docs (CLI markdown + Node.js, Python, .NET, Java SDK reference) are checked into this repository. In normal operation the workflows above create the commits and PRs automatically; you don't need to commit generated output yourself.
We use Algolia for search, and we update the Algolia search index on every deployment of the website. Whether you're adding a new page or updating an existing one, your changes will be reflected in search results within a few seconds of release.
We currently index every page of the website, including the blog and the Registry. However, we do not index all of the content of every page — we only index certain properties of the page. These include:
- Page titles (specifically the
titleandh1frontmatter params) - Page descriptions (specifically the
meta_descparam) - Second-level headings (e.g., those prefixed with
##in Markdown files) - Keywords, if any (via the
search.keywordsparam) - Authors, if any (via the
authorsparam) - Tags, if any (via the
tagsparam)
Because of this, it's important to be thoughtful about the terms you use for these fields, especially titles, keywords, descriptions, and H2 headings. If you want your content to be findable by specific terms, you must make sure those terms exist in one or more of the fields listed above.
For example, if you were writing a guide to building an ETL pipeline with Redshift, and you wanted to make sure the page would be surfaced for queries like redshift data warehouse etl, you might construct the page's frontmatter in the following way:
title: Build an ETL pipeline with Redshift and AWS Glue
meta_desc: Learn how to combine AWS Glue and Amazon Redshift to build a fully-automated ETL pipeline with Pulumi.
search:
keywords:
- data warehouseIn this case, the optional search.keywords field is included to cover the terms data warehouse, as those terms don't exist in the page's title or description. If it weren't, queries for data warehouse would fail to match this particular page.
Certain fields also rank higher than others in terms of their overall relevance. (Titles and keywords, for example, are considered more relevant than descriptions.) For a full list of these rankings, along with all of the rules we apply to the search index, see the search app in pulumi/docs.
To keep a page from showing up in search results (including on Google, etc.), use the block_external_search_index frontmatter parameter:
title: My page
...
block_external_search_index: trueEngage with our community to elevate your developer experience:
- Join our online Pulumi Community on Slack - Interact with thousands of Pulumi developers for collaborative problem-solving and knowledge-sharing!
- Join a Local Pulumi User Groups (PUGs) - Attend tech-packed meetups and hands-on virtual or in-person workshops.
- Follow @PulumiCorp on X (Twitter) - Get real-time updates, technical insights, and sneak peeks into the latest features.
- Subscribe to our YouTube Channel, PulumiTV - Learn about AI / ML essentials, launches, workshops, demos and more.
- Follow our LinkedIn - Uncover company news, achievements, and behind-the-scenes glimpses.
Delve deeper into Pulumi with additional resources:
- Get Started with Pulumi: Deploy a simple application in AWS, Azure, Google Cloud, or Kubernetes using Pulumi.
- Registry: Search for packages and learn about the supported resources you need. Install the package directly into your project, browse the API documentation, and start building.
- Pulumi Blog - Stay in the loop with our latest tech announcements, insightful articles, and updates.
- Try Pulumi Neo - Use natural-language prompts to generate Pulumi infrastructure-as-code programs in any language.
Review the planned work for the upcoming quarter and a selected backlog of issues that are on our mind but not yet scheduled on the Pulumi Roadmap.