homelab-nomad/providers.tf

8 lines
257 B
Terraform
Raw Normal View History

# Configure the Nomad provider
provider "nomad" {
address = var.nomad_address
secret_id = var.nomad_secret_id
# secret_id = length(var.nomad_secret_id) == 0 ? data.vault_nomad_access_token.admin.secret_id : var.nomad_secret_id
region = "global"
}