terraform.tfvars - infra - Terraform IoC for my remote (Hetzner) and local (Incus) servers.
(HTM) git clone git://jay.scot/infra
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
terraform.tfvars (1014B)
---
1 public_ssh_keys = {
2 main = "~/.ssh/id_ed25519.pub"
3 }
4
5 firewall_rules = {
6 "main" = {
7 rules = {
8 ssh = {
9 direction = "in"
10 protocol = "tcp"
11 source_ips = ["0.0.0.0/0", "::/0"]
12 port = "22"
13 }
14 git = {
15 direction = "in"
16 protocol = "tcp"
17 source_ips = ["0.0.0.0/0", "::/0"]
18 port = "9418"
19 }
20 http = {
21 direction = "in"
22 protocol = "tcp"
23 source_ips = ["0.0.0.0/0", "::/0"]
24 port = "80"
25 }
26 https = {
27 direction = "in"
28 protocol = "tcp"
29 source_ips = ["0.0.0.0/0", "::/0"]
30 port = "443"
31 }
32
33 }
34 }
35
36 }
37
38 nodes = {
39 "main" = {
40 image = "debian-12"
41 location = "hel1",
42 server_type = "cx22",
43 reverse_dns = "jay.scot"
44 user_data = "cloudinit/main.yml"
45 public_key = "main"
46 ipv4 = true
47 ipv6 = true
48 labels = {
49 git = "true"
50 gemini = "true"
51 }
52 }
53 }