Terraform Module that creates an AWS Route 53 resources.
IMPORTANT: The master branch is used in source just as an example. In your code, do not pin to master because there may be breaking changes between releases. Instead pin to the release tag (e.g. ?ref=tags/x.y.z) of one of our latest releases.
See examples
directory for working examples to reference:
module "dns" {
source = "terraform-module/dns/aws"
version = "~> 2"
# insert the 3 required variables here
}
Name | Version |
---|---|
terraform | ~> 1 |
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_route53_record.this | resource |
aws_route53_zone.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
parent_dns_zone_id | The ID of the hosted zone to contain this record. | string |
n/a | yes |
parent_dns_zone_name | The name of the hosted zone | string |
n/a | yes |
subdomain | Subdomain zone | string |
n/a | yes |
tags | A mapping of tags to assign to the zone. | map(string) |
{} |
no |
ttl | The TTL of the recod | string |
"30" |
no |
type | The record type. Valid values are A, AAAA, CAA, CNAME, MX, NAPTR, NS, PTR, SOA, SPF, SRV and TXT. | string |
"NS" |
no |
Name | Description |
---|---|
zone_id | Zone ID for a dns distribution |
zone_name | The name of the zone record. |
$ make help
hooks Commit hooks setup
validate Validate with pre-commit hooks
changelog Update changelog
- π Use a succinct title and description.
- π Bugs & feature requests can be be opened
- πΆ Support questions are better asked on Stack Overflow
- π Be nice, civil and polite (as always).
Copyright 2019 Ivan Katliarhcuk
MIT Licensed. See LICENSE for full details.
Submit a pull request
Currently maintained by Ivan Katliarchuk and these awesome contributors.