subdomain/aws/route53
domain
- connection
Connection Type: domain/aws/route53
name
- string
The domain name of the DNS zone.
This is the dns_name
specified by the user in the subdomain registration.
fqdn
- string
The FQDN (fully-qualified domain name) of the DNS zone.
Format
The official Nullstone modules provide automatic subdomain generation. These modules create a unique DNS zone based on:
- domain name
dns_name
specified by the user- the current environment
var.create_vanity
Examples for domain acme.io
:
dns_name | env | var.create_vanity | fqdn |
---|---|---|---|
api | dev | false | api.dev.acme.io |
api | staging | false | api.staging.acme.io |
api | prod | true | api.acme.io |
zone_id
- string
The ID of the Route53 Zone representing the DNS zone in AWS.
nameservers
- list(string)
A list of authoritative nameservers for the created domain.
By setting the nameservers in the domain registrar to these records, this domain will have the source of truth for DNS records.
delegator
- object
An AWS IAM User and access keys with explicit access to delegate subdomains in this domain to another DNS zone.
Format
value = {
name = aws_iam_user.delegator.name
access_key = aws_iam_access_key.delegator.id
secret_key = aws_iam_access_key.delegator.secret
}
Required IAM permissions
[zone-arn]
route53:GetHostedZone
route53:ChangeResourceRecordSets
route53:ListResourceRecordSets
*
route53:GetChange