pulumi-local
Thin wrapper script to use Pulumi with LocalStack
What it is and what it does
pulumi-local is a command-line wrapper that intercepts Pulumi deployment commands and automatically configures them to target a local AWS emulation environment (LocalStack) instead of real AWS. It works by running `pulumi config` to inject LocalStack-specific AWS endpoint and credential settings before executing the original Pulumi command.
You use it exactly like the `pulumi` command itself—same syntax, same operations (up, destroy, preview, cancel)—but it handles the LocalStack plumbing behind the scenes. It supports multiple configuration strategies for managing stack state (overwrite, override, or separate stacks) and can run in non-interactive mode for CI/CD pipelines. The package has no runtime dependencies and is actively maintained, though it explicitly does not support the aws-native Pulumi package.
Use it for:
- Test Pulumi infrastructure code locally before deploying to real AWS, catching configuration errors without cloud costs.
- Develop and iterate on infrastructure-as-code in a local environment where you control the entire AWS mock stack.
- Run Pulumi deployments in CI/CD pipelines against LocalStack for fast, repeatable integration tests.
- Prototype multi-service AWS architectures locally without provisioning actual resources or incurring charges.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A command-line wrapper that adapts Pulumi infrastructure-as-code deployments to work with LocalStack, a local AWS emulation environment, by automatically configuring AWS endpoints and credentials.
Yes, if you already use Pulumi and LocalStack together. The wrapper eliminates manual endpoint configuration and makes local testing seamless. However, it's only useful in that specific workflow—if you don't need LocalStack or use Pulumi only for real AWS deployments, it adds no value. The active maintenance, permissive license, and zero vulnerabilities make it safe to adopt.
Install
pulumi-local on PyPI
pip
pip install pulumi-localuv
uv add pulumi-localpoetry
poetry add pulumi-localInstalling pulumi-local
Before you install
Installation is straightforward via pip, but the high friction rating reflects that this is a thin wrapper requiring both Pulumi and a running LocalStack instance as external prerequisites—not a standalone tool. The package is actively maintained with recent commits and no known vulnerabilities.
License in practice
Released under Apache License 2.0 (permissive), so you can use, modify, and distribute it freely in most contexts without restriction.
Quickstart
pip install pulumi-local
# Requires LocalStack running locally
export AWS_ENDPOINT_URL=http://localhost:4566
pulumilocal new typescript -y -s lsdev --cwd myproj
pulumilocal up --cwd myproj
Requires a LocalStack instance running on your local machine and Pulumi CLI already installed on your system PATH.
Verify before relying
- Whether aws-native package support is planned or if this limitation is permanent
- Compatibility with Pulumi versions beyond what the wrapper's test coverage confirms
Package facts
| License | Apache License 2.0 (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | actively maintained — 683 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 150,209/month — #10,972 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pulumi_local-1.3.0.tar.gz
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
awscli-localProvides the `awslocal` command, a thin wrapper…
permissive · top 5,000 on PyPI
terraform-localA wrapper script that runs Terraform against…
permissive · top 15,000 on PyPI
pulumi-aws-nativePulumi AWS Cloud Control Provider enables…
permissive · top 15,000 on PyPI
localstack-clientA Python client that wraps boto3 to redirect…
permissive · top 5,000 on PyPI
localstackLocalStack is a command-line tool that emulates…
permissive · top 15,000 on PyPI
pulumi-pulumiservicePulumi Service Provider enables programmatic…
permissive · top 15,000 on PyPI
pulumi-githubPulumi provider for GitHub that lets you define…
permissive · top 15,000 on PyPI
localstack-extProvides extensions and additional…
unclear · top 15,000 on PyPI
pulumi-dockerPulumi provider for managing Docker resources…
permissive · top 5,000 on PyPI
pulumi-google-nativePulumi provider for provisioning Google Cloud…
permissive · top 15,000 on PyPI