2022-07-30 23:27:40 +02:00
|
|
|
variable "flake_rev" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2022-08-26 20:51:11 +02:00
|
|
|
variable "flake_ref" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
2022-07-30 23:27:40 +02:00
|
|
|
variable "flake_sha" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "flake_host" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "flake_host_alt" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
provider "nomad" {
|
2022-08-26 20:51:11 +02:00
|
|
|
address = "http://10.64.2.1:4646"
|
2022-07-30 23:27:40 +02:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|