Skip to content

Terraform module to forward a DNS requests for a subdomain from dyn to route53

Notifications You must be signed in to change notification settings

heroku/terraform-dyn-to-route53-forward

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dynect to Route53 NS forwarding terraform module

Terraform module which creates a hosted zone in AWS Route 53, and NS records in Dyn to forward DNS requests for a given domain to the new hosted zone.

Uses the AWS Provider and Dyn Provider.

Usage

module "forward-zone" {
  source = "github.com/heroku/terraform-dyn-to-route53-forward"
  forward_domain = "forward.me.mydomain.com"
  root_domain = "mydomain.com"
}

Inputs

Name Description Type Default Required
forward_domain Domain to be forwarded. eg: 'forward.me.mydomain.com' string - yes
name_servers_count Number of nameservers for a route53 hosted zone. Necessary because of hashicorp/terraform#10857 (comment) string 4 no
root_domain Domain containing the subdomain to be forwarded. eg: 'mydomain.com' string - yes

Outputs

Name Description
name_servers Nameservers for the route53 zone
zone_id ID of the route53 zone

About

Terraform module to forward a DNS requests for a subdomain from dyn to route53

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages