cluster/nomad/main.tf
main 1542021f7e
Terraform provider passing changes
Signed-off-by: main <magic_rb@redalder.org>
2022-07-31 07:46:24 +02:00

41 lines
576 B
HCL

terraform {
required_providers {
nomad = {
configuration_aliases = [
nomad.do-1,
nomad.homelab-1
]
}
}
}
variable "flake_rev" {
type = string
}
variable "flake_host" {
type = string
}
variable "flake_host_alt" {
type = string
}
variable "flake_sha" {
type = string
}
module "regions" {
source = "./regions"
flake_rev = var.flake_rev
flake_host = var.flake_host
flake_host_alt = var.flake_host_alt
flake_sha = var.flake_sha
providers = {
nomad.do-1 = nomad.do-1
nomad.homelab-1 = nomad.homelab-1
}
}