flocon/infra
2025-07-17 23:52:57 +02:00
..
.gitignore create tf infra for crocus and dns 2025-02-06 11:00:37 +01:00
.terraform.lock.hcl setup dns for turifer.dev mail 2025-07-17 23:52:12 +02:00
crocus.tf create radicle node on genepi 2025-02-06 11:00:37 +01:00
dns.tf setup dns for turifer.dev mail 2025-07-17 23:52:12 +02:00
main.tf setup dns for turifer.dev mail 2025-07-17 23:52:12 +02:00
providers.tf setup dns for turifer.dev mail 2025-07-17 23:52:12 +02:00
README.md add readme for infra 2025-05-08 20:18:17 +02:00
turifer.dev.zone add git.turifer.dev dns records 2025-07-17 23:52:57 +02:00
variables.tf setup dns for turifer.dev mail 2025-07-17 23:52:12 +02:00

Infra

Secrets

Provide secrets when asked by the command-line, or save them in a terraform.tfvars file:

gandi_token = XXX
hcloud_token = YYY

Importing

To import already existent resources, use the import command:

tofu import hcloud_server.crocus_server XXX
tofu import hcloud_firewall.hcloud_firewall YYY

For Hetzner Cloud, the resource IDs can be found in the URL of the admin console.