Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Neon 8 min read Announcement mediumAdept

The Neon Terraform provider is now official

Neon has adopted the community kislerdm/neon Terraform provider as its official neondatabase/neon provider, now in beta (v0.19.0-beta.4) with v1 expected within weeks. The port moves it to Terraform's Plugin Framework, which enables ephemeral resources that keep role passwords and connection URIs out of the state file. It also adds resources for newer Neon primitives such as Functions, Object Storage buckets, Auth, Realtime, Data API and snapshots. Existing users can migrate without recreating databases using `terraform state replace-provider`, after converting nested blocks to nested attributes and "yes"/"no" strings to booleans. Any plan that shows a replacement should be reported rather than applied.

Related posts

  • Neon for Agent Platforms: A Companion Skill for the AI Agent Program

    Neon mediumAdept

    neon-for-agent-platforms is an open-source companion Agent Skill and set of TypeScript scripts for running fleets of Neon Postgres databases on agent platforms. It covers a dual-org model that separates sponsored free-tier and paid customers, with one project per tenant transferred to the paid org on upgrade. It also covers copy-on-write dev and preview branches with shorter suspend timeouts to keep costs predictable, branch-based compound checkpoints, and the consumption API for per-customer cost attribution. Both skills install via npx, and the scripts can also be run directly against a Neon API key and org ID.

  • Introducing neon.ts: infrastructure as code for your Neon projects

    Neon mediumAdept

    neon.ts is a TypeScript infrastructure-as-code file for Neon projects that declares services (Postgres, Neon Auth, Data API, with functions, buckets and an AI gateway coming under a preview block) and provisions them with `neon config plan` and `neon config apply`. A companion `@neondatabase/env` package provides `parseEnv`, which validates `process.env` against the declared services and returns a typed env object, with optional per-app subsets. A programmable `branch` function sets TTL, autoscaling limits and scale-to-zero for new branches created via `neon checkout`. Type-level encoding of service dependencies turns cryptic `never` errors into messages that explain the fix, such as requiring Neon Auth for the Data API.

  • Add files to your branches

    Neon mediumAdept

    Neon Object Storage is an S3-compatible store whose buckets belong to database branches: child branches inherit buckets and objects via the same copy-on-write model as Neon Postgres, so previews get isolated, unbilled-until-diverged copies of production files. Branch reset restores buckets along with the database, but instant restore only rolls back Postgres. Migration mostly means repointing S3 clients at the branch endpoint with path-style addressing, with limits such as no bucket notifications, lifecycle rules, ACL writes or objects over 10 GiB. Function Triggers fire Neon Functions on object creation or on a cron schedule, and inherited triggers start disabled on child branches to avoid reprocessing.

  • Meet the New Neon Auth: Branchable Identity in Your Database

    Neon easyNovice

    Neon Auth has been rebuilt on Better Auth and now stores users, sessions, organizations and auth configuration in a neon_auth schema inside the Neon Postgres database. This replaces the earlier external-provider setup that relied on webhook sync. Because identity lives in the database, auth state clones with every branch, and each branch gets its own isolated auth endpoint co-located with compute. RLS policies can reference the JWT user, and user creation plus role assignment can happen in one transaction. A unified neon-js SDK ties together Auth, the Data API and the database, though Neon Auth does not yet support custom Better Auth plugins or server-side handlers.

  • How Cedalio uses Neon for an efficient development workflow

    Neon easyNovice

    Cedalio, an ESG data verification startup, moved from DynamoDB to Postgres and picked Neon over RDS for a simpler API and console. GitHub Actions creates a Neon database branch and a Fly.io app instance for each PR, then deletes both after merge, and scale-to-zero keeps these temporary environments cheap. A one-database-per-customer design gives tenant isolation. Their backend reads the Postgres WAL, bundles and encrypts operations, stores them optionally on IPFS or Arweave, and commits a hash to a client-owned smart contract for tamper-evident auditing.

The quest for software engineering knowledge.

Look:
Layout: