Skip to main content

Pulumi Neon Provider

Project description

Python SDK for Pulumi Neon Provider


⭐ The project needs your support! Please leave a star and become a GitHub sponsor! ⭐

The SDK to provision Neon Postgres projects using the Pulumi Neon provider.

How to use

Prerequisites

  • Pulumi v3.134.1+
  • Python 3.9+
  • Neon API key exported as env variable NEON_API_KEY

Steps

  1. Create a Pulumi project by running pulumi new python
  2. Configure the Pulumi secret by running pulumi config set --secret neon:api_key ${NEON_API_KEY}.
  3. Active venv:
source venv/bin/activate
  1. Add the SDK as dependency:
pip install pulumi_neon
  1. Edit the file __main__.py:
from pulumi_neon.resource.project import Project, ProjectArgs

Project("myproject", ProjectArgs(name="myProjectProvisionedWithPulumiPythonSDK"))
  1. Run pulumi up -f
  2. Examine the Neon console: it's expected to see a new project called "myProjectProvisionedWithPulumiPythonSDK".

How to contribute

Please raise GitHub issue in case of proposals, or found bugs.

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_neon-0.0.1b1.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file pulumi_neon-0.0.1b1.tar.gz.

File metadata

  • Download URL: pulumi_neon-0.0.1b1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pulumi_neon-0.0.1b1.tar.gz
Algorithm Hash digest
SHA256 d07c122ceca8b13a9b88838a449d96086c4c28108cf1f5b9db37a8a87dd17578
MD5 876176569bf8cf1bf950f3b5c4bd5a12
BLAKE2b-256 529b173449dc59a1a86f45ceaa2a24dfc0d333112a161903765b004632efbac3

See more details on using hashes here.

Supported by

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