Terraform
Terraform manages cloud infrastructure for the Aegis VPN service, provisioning VPN endpoints across seven cloud providers.
Location
/home/lucas/vpn/infrastructure/terraform/
Provider Inventory
| Provider | Directory | Purpose |
|---|---|---|
| AWS | terraform/aws/ | VPN endpoints on Amazon Web Services |
| Azure | terraform/azure/ | VPN endpoints on Microsoft Azure |
| GCP | terraform/gcp/ | VPN endpoints on Google Cloud Platform |
| DigitalOcean | terraform/do/ | VPN endpoints on DigitalOcean |
| Hetzner | terraform/hetzner/ | VPN endpoints on Hetzner Cloud |
| Vultr | terraform/vultr/ | VPN endpoints on Vultr |
| Oracle Cloud | terraform/oracle/ | VPN endpoints on Oracle Cloud |
Usage
cd /home/lucas/vpn/infrastructure/terraform/<provider>/
# Initialize
terraform init
# Plan changes
terraform plan
# Apply changes
terraform apply
# Destroy resources
terraform destroy
TODO: expand with state backend configuration, variable definitions, module structure, and cost estimates per provider.