Pre-release
This release is a pre-release and may not be stable for production use.
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
- Create a Pulumi project by running
pulumi new python - Configure the Pulumi secret by running
pulumi config set --secret neon:api_key ${NEON_API_KEY}. - Active venv:
source venv/bin/activate
- Add the SDK as dependency:
pip install pulumi_neon
- Edit the file
__main__.py:
from pulumi_neon.resource.project import Project, ProjectArgs
Project("myproject", ProjectArgs(name="myProjectProvisionedWithPulumiPythonSDK"))
- Run
pulumi up -f - 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.
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d07c122ceca8b13a9b88838a449d96086c4c28108cf1f5b9db37a8a87dd17578
|
|
| MD5 |
876176569bf8cf1bf950f3b5c4bd5a12
|
|
| BLAKE2b-256 |
529b173449dc59a1a86f45ceaa2a24dfc0d333112a161903765b004632efbac3
|