pulumi-random
A Pulumi package to safely use randomness in Pulumi programs.
Decision gist · record as of 2026-08-14
Yes. This is an actively maintained, low-friction Pulumi provider with no known vulnerabilities, permissive licensing, and a clear use case for anyone building infrastructure-as-code with Pulumi who needs randomness. Install it if you are using Pulumi and need to safely incorporate random values into your resource definitions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later and a Pulumi project context to function.
- Low install friction with a pure Python wheel.
- Actively maintained as of 23 days ago with recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
last release 2026-07-22 (23 days) · last repo commit 2026-08-14 · 43 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,645,693 downloads/mo, #3,691 on PyPI
Alternatives
Verify before relying
pip install pulumi_random
import pulumi
import pulumi_random as random
password = random.RandomPassword("db_password", length=16, special=True)
pulumi.export("password", password.result)- Whether random values persist correctly across Pulumi stack updates and state refreshes in practice.
- Performance characteristics when generating many random resources in a single program.
What it is and what it does
pulumi-random is a Pulumi provider that enables safe, deterministic use of randomness in infrastructure-as-code programs. Unlike calling random functions directly—which would produce different values on every program evaluation and break Pulumi's goal-state model—this provider integrates randomness into Pulumi's resource lifecycle so that generated values remain stable across updates unless explicitly refreshed.
The package exposes resource types like RandomPassword, RandomId, and RandomString that generate random values as first-class Pulumi outputs. These outputs can be passed to other resources (e.g., an RDS password, a resource name suffix) while respecting Pulumi's convergence semantics. It depends on pulumi as its core runtime and uses parver and semver for version handling.
Use it for
- Generate random database passwords and pass them to RDS or other managed database resources without re-convergence on every run.
- Create unique resource names with random suffixes to avoid naming collisions in multi-environment deployments.
- Produce random IDs for tagging or identifying infrastructure components while maintaining deterministic state.
- Seed random strings for API keys, tokens, or other secrets that need to be stable across stack updates.
- Combine randomness with Pulumi's automation API to provision infrastructure with deterministic but unpredictable identifiers.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is an actively maintained, low-friction Pulumi provider with no known vulnerabilities, permissive licensing, and a clear use case for anyone building infrastructure-as-code with Pulumi who needs randomness. Install it if you are using Pulumi and need to safely incorporate random values into your resource definitions.
Install
pulumi-random on PyPI
Before you install
Low install friction with a pure Python wheel. Actively maintained as of 23 days ago with recent commits. Depends on pulumi, parver, semver, and typing-extensions—all standard, lightweight dependencies.
Requires Python 3.9 or later and a Pulumi project context to function.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install pulumi_random
import pulumi
import pulumi_random as random
password = random.RandomPassword("db_password", length=16, special=True)
pulumi.export("password", password.result)
Verify before relying
- Whether random values persist correctly across Pulumi stack updates and state refreshes in practice.
- Performance characteristics when generating many random resources in a single program.
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 23 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,645,693 / month, #3,691 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pulumi_random-4.21.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 random password generator”
- pulumi-randomProvides safe, deterministic randomness for Pulumi…
- random-password-generatorGenerates random passwords with configurable length, character…
- xkcdpassGenerates strong, memorable passphrases by randomly selecting words…
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-tls · pyudorandom · pulumi-docker · pulumi-datadog · pulumi-pagerduty · pulumiverse-grafana · pulumi-pulumiservice · pulumi-github · diceware · pulumi-vault