accessKeyId

The AWS Access Key ID. If left empty, it defaults to the contents of the environment variables EC2_ACCESS_KEY or AWS_ACCESS_KEY_ID (in that order). The corresponding Secret Access Key is not specified in the deployment model, but looked up in the file ~/.ec2-keys, which should specify, on each line, an Access Key ID followed by the corresponding Secret Access Key. If the lookup was unsuccessful it is continued in the standard AWS tools ~/.aws/credentials file. If it does not appear in these files, the environment variables EC2_SECRET_KEY or AWS_SECRET_ACCESS_KEY are used.

type

string

default

{
  accessKeyId = "";
}

domainName

The DNS name to bind.

type

string

healthCheckId

Optional ID of an Amazon Route 53 health check.

type

string or resource of type ‘route53-health-check’

default

{
  healthCheckId = "";
}

name

Name of the recordset.

type

string

default

{
  name = "nixops-{uuid}-{name}";
}

recordType

DNS record type

type

one of "A", "AAAA", "TXT", "CNAME", "MX", "NAPT", "PTR", "SRV", "SPF"

default

{
  recordType = "A";
}

recordValues

The value of the DNS record (e.g. IP address in case of an A or AAA record type, or a DNS name in case of a CNAME record type)

type

list of string or resource of type ‘machine’ or resource of type ‘elastic-ip’

routingPolicy

DNS record type

type

one of "simple", "weighted", "multivalue"

default

{
  routingPolicy = "simple";
}

setIdentifier

A unique identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type.

type

string

default

{
  setIdentifier = "";
}

ttl

The time to live (TTL) for the A record created for the specified DNS hostname.

type

signed integer

example

{
  ttl = 300;
}

default

{
  ttl = 300;
}

weight

Among resource record sets that have the same combination of DNS name and type, a value that determines what portion of traffic for the current resource record set is routed to the associated location. When value is 0, weighted routing policy is not used.

type

signed integer

default

{
  weight = 0;
}

zoneId

The DNS hosted zone id. If null, the zoneName will be used to look up the zoneID

type

null or string or resource of type ‘route53-hosted-zone’

default

{
  zoneId = null;
}

zoneName

The DNS name of the hosted zone

type

null or string

default

{
  zoneName = null;
}