nixos-wiki-infra/targets/nixos-wiki2.thalheim.io/terraform.tf

24 lines
855 B
Terraform
Raw Normal View History

2023-05-10 21:05:10 +02:00
terraform {
backend "http" {
address = "https://gitlab.com/api/v4/projects/45776186/terraform/state/nixos-wiki2.thalheim.io"
lock_address = "https://gitlab.com/api/v4/projects/45776186/terraform/state/nixos-wiki2.thalheim.io/lock"
unlock_address = "https://gitlab.com/api/v4/projects/45776186/terraform/state/nixos-wiki2.thalheim.io/lock"
2023-05-10 21:05:10 +02:00
lock_method = "POST"
unlock_method = "DELETE"
retry_wait_min = "5"
}
}
module "wiki" {
2023-05-14 18:43:08 +02:00
source = "../../terraform/nixos-wiki"
netlify_dns_zone = "nixos-wiki2.thalheim.io"
domain = "nixos-wiki2.thalheim.io"
nixos_flake_attr = "nixos-wiki2-thalheim-io"
2023-05-11 00:29:15 +02:00
nixos_vars_file = "${path.module}/nixos-vars.json"
2023-10-24 18:37:53 +02:00
sops_file = abspath("${path.module}/secrets.yaml")
2023-05-14 18:34:56 +02:00
tags = {
2023-05-11 00:29:15 +02:00
Terraform = "true"
Target = "nixos-wiki2.thalheim.io"
2023-05-11 00:29:15 +02:00
}
2023-05-10 21:05:10 +02:00
}