> **Page index:** https://km.oslo.systems/llms.txt lists every page on this site, with a link to its Markdown version.

# `ok`

The `ok` tool helps you to create a fresh Terraform environment (like prod or development) and configure it to use remote state storage. `ok` is created and maintained by team Utviklerflyt. You can [take a look at the repository here](<https://github.com/oslokommune/ok?tab=readme-ov-file#homebrew>).

Your environment is configured using `packages.yml` files, one in each stack folder. Each file is a package manifest listing the Golden Path components the stack uses. An example can be found in the [`pirates-iac` repository](<https://github.com/oslokommune/pirates-iac/blob/main/stacks/dev/app-too-tikki/packages.yml>).

| Command | Description | Requires Boilerplate |
| --- | --- | :---: |
| `ok aws` | Do AWS stuff |  |
| `ok completion` | Generate the autocompletion script for the specified shell |  |
| `ok forward` | Starts a port forwarding session to a database. [See "Connect to a database from your computer".](<https://km.oslo.systems/database/connect-to-a-database-from-your-computer/#step-3-connect-to-database>) |  |
| `ok help` | Help about any command |  |
| `ok pkg` | Manage Boilerplate packages | ✔ |
| `ok version` | Prints the version of the `ok` tool. |  |
