pulumi-postgresql
A Pulumi package for creating and managing postgresql cloud resources.
Decision gist · record as of 2026-08-14
Yes, if you are already using Pulumi and need to manage PostgreSQL resources as code. The provider is actively maintained, has no known vulnerabilities, and integrates cleanly with Pulumi's workflow. Install only if you have Pulumi CLI set up and a PostgreSQL server you can connect to.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Pulumi CLI to be installed first and a running PostgreSQL server with network access configured via environment variables or Pulumi config (PGHOST, PGUSER, PGPASSWORD, etc.).
- Low install friction; a pure Python wheel with four lightweight runtime dependencies.
- Actively maintained as of 2026-08-14 with recent releases.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 40 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 491,966 downloads/mo, #6,363 on PyPI
Alternatives
Verify before relying
pip install pulumi_postgresql
import pulumi
import pulumi_postgresql as postgresql
db = postgresql.Database("my_db", name="mydb")- Whether all PostgreSQL resource types (tables, schemas, extensions, etc.) are fully supported or if some are limited.
- Performance characteristics when managing large numbers of PostgreSQL objects.
- Compatibility with PostgreSQL versions older than 9.0.0 mentioned in the configuration docs.
What it is and what it does
pulumi-postgresql is a Pulumi resource provider that lets you define PostgreSQL infrastructure—databases, users, roles, permissions, and other objects—using Python code instead of manual SQL or imperative scripts. It integrates with Pulumi's state management and deployment workflow, so you can version-control your database schema and apply changes consistently across environments.
The provider connects to a PostgreSQL server using standard connection parameters (host, port, username, password) supplied via environment variables or Pulumi configuration. It supports SSL connections, connection pooling, and superuser-level operations. You write Python code to declare the resources you want, and Pulumi handles creating, updating, and destroying them on your PostgreSQL instance.
Use it for
- Define and version-control database schemas and user permissions as part of your infrastructure-as-code stack.
- Automate PostgreSQL setup in CI/CD pipelines without writing raw SQL scripts.
- Manage multiple PostgreSQL environments (dev, staging, production) with consistent, reproducible configurations.
- Provision database users and roles with specific permissions as part of application deployment.
- Coordinate PostgreSQL resource creation with application infrastructure defined in the same Pulumi program.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already using Pulumi and need to manage PostgreSQL resources as code.
The provider is actively maintained, has no known vulnerabilities, and integrates cleanly with Pulumi's workflow. Install only if you have Pulumi CLI set up and a PostgreSQL server you can connect to.
Install
pulumi-postgresql on PyPI
Before you install
Low install friction; a pure Python wheel with four lightweight runtime dependencies. Actively maintained as of 2026-08-14 with recent releases.
Requires Pulumi CLI to be installed first and a running PostgreSQL server with network access configured via environment variables or Pulumi config (PGHOST, PGUSER, PGPASSWORD, etc.).
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions.
Quickstart
pip install pulumi_postgresql
import pulumi
import pulumi_postgresql as postgresql
db = postgresql.Database("my_db", name="mydb")
Verify before relying
- Whether all PostgreSQL resource types (tables, schemas, extensions, etc.) are fully supported or if some are limited.
- Performance characteristics when managing large numbers of PostgreSQL objects.
- Compatibility with PostgreSQL versions older than 9.0.0 mentioned in the configuration docs.
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 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 491,966 / month, #6,363 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: pulumi_postgresql-3.18.0-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 postgresql provider”
- pulumi-postgresqlPulumi resource provider for declaring and managing PostgreSQL…
- pulumiverse-timeA Pulumi resource provider that lets you manage time-based resources…
- pulumi-aws-nativePulumi AWS Cloud Control Provider enables infrastructure-as-code…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also pulumi-docker · pulumi-snowflake · pulumi-tls · pulumi-vault · pulumi-datadog · pulumi-gcp · pulumi-github · pulumi-gitlab · pulumiverse-grafana · pgcli