Tf modules

Reusable Terraform modules for Vault, virtual machines, storage, and Vast.ai

This project contains reusable Terraform modules for Vault configuration, Proxmox virtual machines, backup storage, and related infrastructure. The module collection is still in progress. The Vast.ai team module composes managed or existing teams and project API keys while callers select provider credentials and own secret storage. The base image-generation module owns constrained rentals and SSH-only or password-protected HTTPS access with at least 32 GiB VRAM. Forge and ComfyUI modules supply native runtime configuration and model paths. Creating a consumer does not authorize a paid rental.

The TrueNAS dataset module creates a protected child from parent and inline config, with shared defaults, private account ownership and optional standard SMB exports.

Features

  • Terraform modules

Backup bucket

S3 bucket for backups

DNS records

Canonical DNS declarations for Cloudflare and RouterOS

OpenSpec

Pve vm qemu

Create a proxmox vm

Terraform backend

Module that sets up an S3 terraform backend

TrueNAS dataset

Vast.ai ComfyUI instance module

Provision a loopback ComfyUI runtime with authenticated HTTPS

Vast.ai Forge instance module

Native Forge settings on the shared image-generation rental

Vast.ai image generation instance module

Shared Vast rentals with SSH-only or password-protected HTTPS access

Vast.ai team module

Team and project API-key composition with caller-owned authentication

Vault approle

Create a vault approle

Vault approle

Create a vault approle

Vault OIDC provider

Vault OIDC provider

Vault pki server

Create a pki config for a server

Vault ssh server role

Create an ssh role for a server

Vault transit key

Vault transit key

Yc folder

Folder for Yandex Cloud