cluster/nomad/regions/do-1/main.tf
main 2e61e7ef3c
Reorganization and better Terraform
Signed-off-by: main <magic_rb@redalder.org>
2022-07-30 23:27:40 +02:00

44 lines
544 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 = "do-1"
alias = "do-1"
}
module "nfs" {
source = "../../modules/nfs"
node_dcs = [ "do-1" ]
region = "do-1"
providers = {
nomad = nomad.do-1
}
}
module "gateway-mesh" {
source = "../../modules/gateway-mesh"
datacenters = [ "do-1" ]
providers = {
nomad = nomad.do-1
}
}