Skip to content

Azure ​

Build, deploy, and manage Azure infrastructure with Pulumi. This page links to every Pulumi capability for Azure: Infrastructure as Code, Environments, Secrets, and Configuration (ESC), cloud account scanning, and policy packs.

To start from scratch, follow the get-started guide.

Infrastructure as Code ​

Pulumi IaC lets you define cloud infrastructure using TypeScript, JavaScript, Python, Go, .NET, Java, YAML, or HCL — with deterministic deployments, a state backend, and a rich ecosystem of packages.

Pulumi provides several packages for Azure. For core infrastructure, Azure Native is the recommended choice; Azure Classic is the older alternative. Additional packages cover identity (azuread), Azure DevOps, and static websites. For a deeper comparison, see Choosing a Pulumi Azure provider.

Tutorials, templates, and examples ​

The Pulumi Dev Center collects hands-on Azure content, filterable by language and topic:

  • Tutorials — step-by-step guides to building on Azure with Pulumi.
  • Templates — ready-to-deploy starting points for common architectures. Run pulumi new <template> to bootstrap a project.
  • Examples — complete Pulumi programs you can read, run, and adapt.
  • Workshops — instructor-led workshops, live and on demand.

Guides ​

Secrets & configuration (ESC) ​

Pulumi ESC (Environments, Secrets, and Configuration) is a centralized service for managing secrets, configuration, and short-lived credentials. It composes values from many sources — including Azure — into environments that Pulumi programs, CLIs, and CI/CD workflows can consume.

ESC integrates directly with Azure for short-lived credentials and secret retrieval:

Discovery ​

Pulumi Discovery continuously scans your clouds to build a searchable inventory of every resource — whether created by Pulumi or not — so you can find, audit, and govern cloud infrastructure across accounts, regions, and providers.

For Azure, Discovery connects subscriptions to inventory existing resources, search across subscriptions, and export data. See Add an Azure account for a step-by-step setup guide and Discovery overview for background.

Policy packs ​

Pulumi Policies lets you enforce rules on infrastructure at preview and update time, rejecting stacks that violate security, cost, or compliance standards. Pre-built policy packs are maintained by Pulumi and cover common regulatory and best-practice frameworks.

For Azure:

Migration ​

Migrate existing Azure infrastructure from another IaC tool to Pulumi. The guides below walk through converting or coexisting with each source format.

Content from the official Pulumi documentation (github.com/pulumi/docs).