Skip to content

Glossary: Terraform

pg backend

Also written: backend "pg", PG_CONN_STR

A backend that keeps state in PostgreSQL. It reads its connection address from the `PG_CONN_STR` environment variable, such as `postgres://postgres@localhost/tfstate?sslmode=disable`.

Where the book teaches it

Related terms

BackendEnvironment variable