pulumi-purifier
Locked, Nix-resolved dependencies for Pulumi plugins.
Quickstart
Prerequisites: An existing Pulumi YAML project, The ordinary backend configuration and credentials needed for the selected Pulumi command.
nix shell 'github:nix-purifiers/pulumi-purifier'
pulumi-purifier lock
pulumi preview
Commit the lockfiles: pulumi-purifier.lock.json.
Development loop
Keep using native build and test commands in your working tree. After changing dependency selection, refresh the lock and prepare the selected dependencies:
pulumi-purifier lock --update --project '<project_root>' --lock '<lockfile>'
pulumi-purifier prefetch --project '<project_root>' --lock '<lockfile>'
Use the project directory and lockfile from your setup for the placeholders.
Using locked dependencies
The development environment supplies a wrapper that runs the build tool with the locked dependencies. Without an applicable purifier lock, it warns and lets the tool use its usual dependency resolution. A stale or invalid lock fails with a repair command.
The supplied wrapper is required for native builds.
Working offline
Prepare dependencies using the Quickstart workflow before disconnecting. The lock covers the recorded dependency downloads; downloads performed outside that lock need separate inputs.
Supported scope
Target systems
- x86_64-linux
- aarch64-linux
Dependency sources
- Public HTTPS language and resource plugin archives discovered by native Pulumi language hosts
Platform limits
- Native Linux x86-64 and ARM64 are targeted. The fixture uses a local state backend and the Random provider; it does not create cloud resources.
Not supported
- Initial provider supports Pulumi YAML projects and binary plugins on Linux x86-64 and ARM64
- Source-based plugins and other language runtimes require language dependency providers
- The Nix builder verifies plugin discovery and prepares sources; it does not deploy cloud resources
More information
Setup and activation · Version compatibility · Using locked dependencies · Nix builds · Project projections.