clan-infra/targets/web01/terraform.tf

22 lines
534 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
2023-09-05 14:09:51 +00:00
ipv4_address = "65.21.12.51"
ipv6_address = "2a01:4f9:3080:418b::1"
sops_secrets_file = "${abspath(path.module)}/secrets.yaml"
2023-07-04 14:43:31 +00:00
tags = {
Terraform = "true"
Target = "web01"
}
}