We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 308d01a commit 1f67b1eCopy full SHA for 1f67b1e
_examples/coredns.tf
@@ -9,9 +9,11 @@ module "coredns" {
9
nomad_token = local.nomad_token // Token for the Nomad server
10
11
// Optional parameters
12
- enabled = true
13
- hosts = ["cm3"] // Host constraint for the job
14
- port = 53 // Port to expose for plaintext connections
15
- cache_ttl = 30 // Cache TTL in seconds
16
- dns_zone = "nomad" // DNS zone to serve
+ service_type = "system" // System or service
+ service_dns = [ "dns1", "dns2" ] // Upstream DNS
+ enabled = true
+ hosts = ["server1"] // Host constraint for the job
+ port = 53 // Port to expose for plaintext connections
17
+ cache_ttl = 30 // Cache TTL in seconds
18
+ dns_zone = "nomad" // DNS zone to serve
19
}
0 commit comments