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.1.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file pulumi_postgresql_exec-0.1.1.tar.gz.

File metadata

  • Download URL: pulumi_postgresql_exec-0.1.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for pulumi_postgresql_exec-0.1.1.tar.gz
Algorithm Hash digest
SHA256 527c484388d895dc5b32314e0de457c3010724c2f50114e8f1f81e7a5da77e61
MD5 e6c0dbee7e98503681999ee69c12a2e4
BLAKE2b-256 4a9bb2a09c28922414787e10d5d313a8dc34b39fc3b893d663470445762086e0

See more details on using hashes here.

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