https://github.com/scout-ch/tractor-db-tenants
Terraform config to manage tenants in the shared tractor DBs.
https://github.com/scout-ch/tractor-db-tenants
tractor
Last synced: 3 months ago
JSON representation
Terraform config to manage tenants in the shared tractor DBs.
- Host: GitHub
- URL: https://github.com/scout-ch/tractor-db-tenants
- Owner: scout-ch
- License: agpl-3.0
- Created: 2025-09-22T11:01:15.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2026-02-22T14:06:13.000Z (3 months ago)
- Last Synced: 2026-02-22T19:12:38.495Z (3 months ago)
- Topics: tractor
- Language: HCL
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Tractor DB Tenants
## Prerequisites
- OpenTofu installed: https://opentofu.org/docs/intro/install/
- Bitwarden CLI Installed: https://bitwarden.com/help/cli/
- DB Servers up and running
- Recommended: [OpenTofu Plugin Caching](https://opentofu.org/docs/cli/config/config-file/#provider-plugin-cache) set up
## Initial Setup
1. Copy `.env.example` to `.env`
2. Look up the `tractor-db-tenants-tf` db password in bitwarden and add it to `.env`
3. Create a Bitwarden API Key (https://bitwarden.com/help/personal-api-key/) and set all the values (incl. you personal Vault Password) in the `.env` file
```bash
source .env
cd tofu
tofu init
tofu apply
```