provisioning-catalog/providers/prov_lib/nickel/dns_contracts.ncl

36 lines
751 B
Text
Raw Permalink Normal View History

{
RecordType = [| 'A, 'AAAA, 'CNAME, 'MX, 'TXT, 'SRV, 'CAA, 'NS |],
RecordSource = [|
'manual,
'external_dns,
'provider_ptr,
|],
DnsRecord = {
zone | String,
name | String,
type | RecordType,
value | String,
ttl | Number,
priority | Number | optional,
proxied | Bool | default = false,
source | RecordSource | default = 'manual,
},
DnsZone = {
name | String,
provider | [| 'cloudflare, 'hetzner, 'aws |],
account_ref | String,
zone_id | String | optional,
},
DnsChallenge = {
name | String,
token | String,
record_id | String | optional,
},
RecordKey = { zone | String, name | String, type | RecordType },
}