clan-infra/targets/web01/terraform.tf
Jörg Thalheim a34b168bee
All checks were successful
build / test (push) Successful in 5s
move web01-new to web01 and web01 to web01-old
2023-07-19 11:18:00 +02:00

22 lines
535 B
HCL

terraform {
backend "local" {}
}
variable "hetznerdns_token" {}
module "web01" {
source = "../../terraform/web01"
hostname = "clan.lol"
dns_zone = "clan.lol"
nixos_flake_attr = ".#web01"
nixos_vars_file = "${path.module}/nixos-vars.json"
hetznerdns_token = var.hetznerdns_token
ipv4_address = "65.109.103.5"
ipv6_address = "2a01:4f9:3080:282a::1"
sops_secrets_file = "${abspath(path.module)}/secrets.yaml"
tags = {
Terraform = "true"
Target = "web01"
}
}