fix
This commit is contained in:
@@ -25,7 +25,7 @@ locals {
|
|||||||
files = merge({
|
files = merge({
|
||||||
"Corefile" = join("\n", concat([local.begin-core],[for z in var.zones: format("file /etc/coredns/%s.db %s", z.name,z.name)],[local.end-core]))
|
"Corefile" = join("\n", concat([local.begin-core],[for z in var.zones: format("file /etc/coredns/%s.db %s", z.name,z.name)],[local.end-core]))
|
||||||
},[for z in var.zones: {
|
},[for z in var.zones: {
|
||||||
"${z.name}" = join("\n", concat([
|
"${z.name}.db" = join("\n", concat([
|
||||||
"$TTL 60",
|
"$TTL 60",
|
||||||
"$ORIGIN ${z.name}.",
|
"$ORIGIN ${z.name}.",
|
||||||
local.soa-ns
|
local.soa-ns
|
||||||
|
|||||||
@@ -64,16 +64,16 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
domain-name:
|
|
||||||
default: your_company.com
|
|
||||||
examples:
|
|
||||||
- your_company.com
|
|
||||||
type: string
|
|
||||||
sub-domain:
|
sub-domain:
|
||||||
default: dns
|
default: dns
|
||||||
examples:
|
examples:
|
||||||
- dns
|
- dns
|
||||||
type: string
|
type: string
|
||||||
|
domain-name:
|
||||||
|
default: your_company.com
|
||||||
|
examples:
|
||||||
|
- your_company.com
|
||||||
|
type: string
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user