mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-30 20:16:18 +01:00
2e61e7ef3c
Signed-off-by: main <magic_rb@redalder.org>
43 lines
578 B
HCL
43 lines
578 B
HCL
variable "flake_rev" {
|
|
type = string
|
|
}
|
|
|
|
variable "flake_sha" {
|
|
type = string
|
|
}
|
|
|
|
variable "flake_host" {
|
|
type = string
|
|
}
|
|
|
|
variable "flake_host_alt" {
|
|
type = string
|
|
}
|
|
|
|
provider "nomad" {
|
|
address = "http://10.64.1.201:4646"
|
|
region = "homelab-1"
|
|
alias = "homelab-1"
|
|
}
|
|
|
|
module "nfs" {
|
|
source = "../../modules/nfs"
|
|
|
|
node_dcs = [ "homelab-1" ]
|
|
region = "homelab-1"
|
|
|
|
providers = {
|
|
nomad = nomad.homelab-1
|
|
}
|
|
}
|
|
|
|
module "gateway-mesh" {
|
|
source = "../../modules/gateway-mesh"
|
|
|
|
datacenters = [ "homelab-1" ]
|
|
|
|
providers = {
|
|
nomad = nomad.homelab-1
|
|
}
|
|
}
|