Skip to main content

A Pulumi package for executing arbitrary SQL queries against a PostgreSQL database.

Project description

PostgreSQL Exec Pulumi Provider

A Pulumi provider that allows running arbitrary SQL queries against a PostgreSQL database.

Warning: It is your responsibility to ensure that you supply both the forward and reverse SQL statements.

Usage example

To provision a PostgreSQL table:

import pulumi_postgresql_exec as postgresql_exec

postgresql_exec.Exec(
    "create-table",
    create_sql="CREATE TABLE t (a int)",
    destroy_sql="DROP TABLE t",
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_postgresql_exec-0.1.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page