Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions apps/docs/content/docs/core/iac.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ your services **as code** instead of clicking through the UI.
- **Repo:** [github.com/Nomploy/pulumi-nomploy](https://github.com/Nomploy/pulumi-nomploy)

<Callout type="info">
It's a TypeScript **dynamic provider** over the REST API — no separate API layer
and no Go toolchain. Prototype status: resources are complete and type-checked;
APIs may still change.
A Pulumi **dynamic provider** over the REST API — no separate API layer and no Go
toolchain. Available in **TypeScript** (repo root) and **Python** (`python/`).
Prototype status: resources are complete and type-checked; APIs may still change.
</Callout>

## Resources
Expand Down Expand Up @@ -79,5 +79,21 @@ new nomploy.Postgres("db", {
});
```

## Python

The same resources are available in Python (`python/`, snake_case API):

```python
import pulumi
import nomploy_pulumi as nomploy

conn = dict(endpoint="https://your-nomploy-instance.com",
api_key=pulumi.Config().require_secret("apiKey"))

project = nomploy.Project("web", name="web", **conn)
nomploy.Application("api", name="api", environment_id=project.environment_id,
docker_image="ghcr.io/you/api:latest", deploy=True, **conn)
```

See the repo's README for the full resource reference, the generated typed API
client, and notes (database node placement, synchronous deploys, and more).
Loading