2022-07-31 07:46:24 +02:00
|
|
|
terraform {
|
|
|
|
required_providers {
|
|
|
|
nomad = {
|
|
|
|
configuration_aliases = [
|
|
|
|
nomad.do-1,
|
|
|
|
nomad.homelab-1
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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_host" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "flake_host_alt" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "flake_sha" {
|
|
|
|
type = string
|
|
|
|
}
|
|
|
|
|
|
|
|
module "regions" {
|
|
|
|
source = "./regions"
|
|
|
|
|
|
|
|
flake_rev = var.flake_rev
|
2022-08-26 20:51:11 +02:00
|
|
|
flake_ref = var.flake_ref
|
2022-07-30 23:27:40 +02:00
|
|
|
flake_host = var.flake_host
|
|
|
|
flake_host_alt = var.flake_host_alt
|
|
|
|
flake_sha = var.flake_sha
|
2022-07-31 07:46:24 +02:00
|
|
|
|
|
|
|
providers = {
|
|
|
|
nomad.do-1 = nomad.do-1
|
|
|
|
nomad.homelab-1 = nomad.homelab-1
|
|
|
|
}
|
2022-07-30 23:27:40 +02:00
|
|
|
}
|