clan-infra/targets/web01/terraform.tf

22 lines
535 B
Terraform
Raw Normal View History

2023-07-04 14:43:31 +00:00
terraform {
backend "local" {}
}
2023-07-13 16:37:14 +00:00
variable "hetznerdns_token" {}
2023-07-04 14:43:31 +00:00
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"
2023-07-04 14:43:31 +00:00
tags = {
Terraform = "true"
Target = "web01"
}
}