cluster/nomad/regions/do-1/main.tf
Magic_RB 5ed9ee1903
Terraform: add flake_ref to allow for branches
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2022-09-18 18:33:26 +02:00

40 lines
460 B
HCL

terraform {
required_providers {
nomad = {}
}
}
variable "flake_rev" {
type = string
}
variable "flake_ref" {
type = string
}
variable "flake_sha" {
type = string
}
variable "flake_host" {
type = string
}
variable "flake_host_alt" {
type = string
}
module "nfs" {
source = "../../modules/nfs"
node_dcs = [ "do-1" ]
region = "do-1"
}
module "gateway-mesh" {
source = "../../modules/gateway-mesh"
datacenters = [ "do-1" ]
}