pulumi-command
The Pulumi Command Provider enables you to execute commands and scripts either locally or remotely as part of the Pulumi resource model.
Decision gist · record as of 2026-08-14
Yes, if you are using Pulumi and need to execute commands as part of your infrastructure automation. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. The preview status means the API may change, but it is suitable for production use in scenarios where command execution is central to your workflow. Install it if local or remote command execution fits your provisioning model; skip it if your infrastructure needs are fully covered by other Pulumi providers.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9 and an active Pulumi CLI installation and configured Pulumi project.
- Low install friction with a pure Python wheel.
- Actively maintained as of 2026-03-04 with recent repository activity.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.
last release 2026-03-04 (163 days) · last repo commit 2026-08-13 · 81 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,454,377 downloads/mo, #2,299 on PyPI
Alternatives
Verify before relying
pip install pulumi-command
from pulumi_command import local
random = local.Command("random", create="openssl rand -hex 16")
print(random.stdout)- Whether Windows-based remote VM support is available or remains in-progress as of 1.2.1
- Specific behavior when a Command resource fails—whether it propagates to dependent resources or fails in isolation
What it is and what it does
Pulumi Command Provider is a Pulumi resource plugin that lets you run shell commands and scripts as first-class infrastructure resources, either on your local machine or on remote hosts via SSH. It integrates command execution into Pulumi's resource lifecycle model, executing scripts on create and destroy operations and storing outputs in Pulumi state. This enables provisioning workflows like registering resources with external services, copying files to remote hosts, or invoking serverless functions during deployment.
The package is designed as an alternative to Terraform provisioners and Dynamic Providers for scenarios where you need to execute arbitrary commands as part of infrastructure automation. It works across all Pulumi languages (C#, Go, JavaScript/TypeScript, Python, YAML) and supports dependency ordering and resource options like deleteBeforeReplace and ignoreChanges. The package is currently in preview, meaning its API may evolve based on user feedback.
Use it for
- Register or deregister resources with external services by running commands on create and destroy
- Provision remote EC2 instances or other VMs by executing commands and copying files over SSH
- Invoke AWS Lambda functions or other serverless code during Pulumi deployments
- Generate and store random values or other computed outputs in Pulumi state for later reference
- Run local setup or cleanup scripts as part of infrastructure stack lifecycle
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using Pulumi and need to execute commands as part of your infrastructure automation.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and is licensed permissively. The preview status means the API may change, but it is suitable for production use in scenarios where command execution is central to your workflow. Install it if local or remote command execution fits your provisioning model; skip it if your infrastructure needs are fully covered by other Pulumi providers.
Install
pulumi-command on PyPI
Before you install
Low install friction with a pure Python wheel. Actively maintained as of 2026-03-04 with recent repository activity. Depends on pulumi, parver, semver, and typing-extensions—all standard, lightweight dependencies.
Requires Python >=3.9 and an active Pulumi CLI installation and configured Pulumi project.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install pulumi-command
from pulumi_command import local
random = local.Command("random", create="openssl rand -hex 16")
print(random.stdout)
Verify before relying
- Whether Windows-based remote VM support is available or remains in-progress as of 1.2.1
- Specific behavior when a Command resource fails—whether it propagates to dependent resources or fails in isolation
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesparverpulumisemvertyping-extensions |
| Maintenance | Actively maintained 163 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,454,377 / month, #2,299 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pulumi_command-1.2.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pulumi command execution”
- pulumi-commandExecutes commands and scripts locally or remotely as Pulumi…
- pulumi-localA command-line wrapper that adapts Pulumi infrastructure-as-code…
- pulumi-pulumiservicePulumi Service Provider enables programmatic management of Pulumi…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also pulumi-pulumiservice · pulumi-kubernetes · pulumi-docker · pulumi-github · pulumiverse-grafana · pulumi-google-native · pulumi-tls · pulumi-random · pulumi-azure · pulumi-gitlab