Skip to main content
Every file below lives in the repository under examples/iac/ and is validated by the same parser that runs levelrail-cli apply. Copy one, change the names, then run levelrail-cli diff -f infra/. Set APP_EXPERIMENTAL=iac first, see the quickstart.

Single app

App and database

The app gets its connection string by reference, so no password is written to the file.

Multiple environments

One manifest, one values file per environment. Placeholders are filled by --values, see how apply works. Files: app.yaml, values/staging.yml, values/prod.yml.

Local development

A small project for a local control plane. Files: app.yaml, .env.example and a Makefile with plan and apply targets.
Next: errors, IaC reference.
Last modified on November 17, 2026