Local development
Configure resources for local development.
If you are developing a task locally that references a Resource,
you can configure that task to use a local version of that resource (instead of hitting a resource
in production or another environment). This is useful, for example, if you want a SQL query to run
against a locally running PostgreSQL instance.
The configuration for local resources is stored locally in a dev config file (
airplane.dev.yaml
) -
for more information on this file and how to configure it, see the
Dev config file reference.yamlCopied1// airplane.dev.yaml2resources:3- id: res-db4slug: db5name: My database6kind: postgres7host: localhost8port: "5432"9ssl: disable10username: postgres11password: password12database: postgres