Pulumi infrastructure code for Esposter Azure resources.
This private package contains Esposter's Azure infrastructure-as-code project. It uses Pulumi with the Azure Native provider to manage Azure resources from TypeScript.
Install the Pulumi CLI before running stack commands. The @pulumi/pulumi dependency is the Node.js SDK used by the Pulumi program; it does not install the pulumi command.
winget install Pulumi.Pulumi
# Or, if you use Chocolatey:
choco install pulumi
pulumi version
Install workspace dependencies from the repository root:
pnpm i
Authenticate Azure locally:
az login
az account set --subscription "<subscription-id>"
Select the stack:
cd packages/infra
pulumi stack select prod
src/index.ts is the generated source barrel.dist/index.js is the compiled Pulumi runtime entrypoint used by Pulumi.yaml.Pulumi.yaml defines the Pulumi project.Pulumi.prod.yaml holds stack-specific configuration.docs/ contains architecture, naming, security, and roadmap notes.src/resources/ contains Pulumi resource declarations grouped by Azure ARM provider namespace and resource type.Run from packages/infra/:
pnpm build # generate exports and compile the Pulumi program to dist/
pnpm export:gen # regenerate src/index.ts via ctix
pnpm infra:preview # preview Pulumi changes
pnpm infra:refresh # refresh Pulumi state from Azure
pnpm infra:up # apply Pulumi changes
pnpm lint:fix # auto-fix lint issues
pnpm typecheck # type check
This project is licensed under the Apache-2.0 license.